signaller/internal/backends/memory/tokens_test.go

13 lines
199 B
Go
Raw Normal View History

2019-07-22 14:46:21 +00:00
package memory
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestTokenGenerator(t *testing.T) {
token := newToken(defaultTokenSize)
assert.Len(t, token, defaultTokenSize*2)
}