Search Apps Documentation Source Content File Folder Download Copy

users_test.gno

0.22 Kb ยท 13 lines
 1package users
 2
 3import (
 4	"testing"
 5
 6	"gno.land/p/demo/uassert"
 7)
 8
 9func TestPreRegisteredTest1(t *testing.T) {
10	names := ListUsersByPrefix("test1", 1)
11	uassert.Equal(t, len(names), 1)
12	uassert.Equal(t, names[0], "test1")
13}