gpaste/files/filestore_memory_test.go

16 lines
234 B
Go
Raw Permalink Normal View History

2022-01-20 02:40:32 +00:00
package files_test
2022-01-15 18:07:33 +00:00
import (
"testing"
2022-01-20 02:40:32 +00:00
"git.t-juice.club/torjus/gpaste/files"
2022-01-15 18:07:33 +00:00
)
func TestMemoryFileStore(t *testing.T) {
2022-01-24 22:18:13 +00:00
newFunc := func() files.FileStore {
return files.NewMemoryFileStore()
}
2022-01-15 18:07:33 +00:00
2022-01-24 22:18:13 +00:00
RunFilestoreTest(newFunc, t)
2022-01-15 18:07:33 +00:00
}