6
1
mirror of https://git.mills.io/saltyim/saltyim.git synced 2024-06-29 18:21:06 +00:00
prologic-saltyim/utils_test.go

18 lines
285 B
Go
Raw Normal View History

package saltyim
import (
"testing"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
func TestGenerateULID(t *testing.T) {
assert := assert.New(t)
require := require.New(t)
ulid, err := GenerateULID()
require.NoError(err)
assert.NotEmpty(ulid)
}