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