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