mirror of
https://github.com/signaller-matrix/signaller.git
synced 2024-11-09 20:21:03 +00:00
13 lines
199 B
Go
13 lines
199 B
Go
package memory
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestTokenGenerator(t *testing.T) {
|
|
token := newToken(defaultTokenSize)
|
|
assert.Len(t, token, defaultTokenSize*2)
|
|
}
|