bdf0cde8a6
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
15 lines
223 B
Go
15 lines
223 B
Go
package session
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestToken(t *testing.T) {
|
|
for n := 0; n < 5; n++ {
|
|
token := Token()
|
|
t.Logf("token: %s", token)
|
|
assert.Equal(t, 48, len(token))
|
|
}
|
|
}
|