16 lines
255 B
Go
16 lines
255 B
Go
|
package users_test
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
"git.t-juice.club/torjus/gpaste/users"
|
||
|
)
|
||
|
|
||
|
func TestMemoryUserStore(t *testing.T) {
|
||
|
newFunc := func() (func(), users.UserStore) {
|
||
|
return func() {}, users.NewMemoryUserStore()
|
||
|
}
|
||
|
|
||
|
RunUserStoreTest(newFunc, t)
|
||
|
}
|