1
0
Fork 0
golang-forgejo-f3-gof3/util/rand_test.go

17 lines
280 B
Go
Raw Permalink Normal View History

// Copyright Earl Warren <contact@earl-warren.org>
// Copyright Loïc Dachary <loic@dachary.org>
// SPDX-License-Identifier: MIT
package util
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestRandSeq(t *testing.T) {
l := 23
assert.Len(t, RandSeq(l), l)
}