ezshare/store/memory_test.go

17 lines
288 B
Go
Raw Normal View History

2021-12-03 22:51:48 +00:00
package store_test
import (
"testing"
"gitea.benny.dog/torjus/ezshare/store"
)
2021-12-05 00:00:32 +00:00
func TestMemoryFileStore(t *testing.T) {
s := store.NewMemoryStore()
2021-12-03 22:51:48 +00:00
doFileStoreTest(s, t)
}
2021-12-05 00:00:32 +00:00
func TestMemoryCertificateStore(t *testing.T) {
s := store.NewMemoryStore()
doCertificateStoreTest(s, t)
}