gpaste/filestore_fs_test.go
Torjus Håkestad 1cb169318c
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Add fs filestore
2022-01-19 01:03:24 +01:00

18 lines
265 B
Go

package gpaste_test
import (
"testing"
"git.t-juice.club/torjus/gpaste"
)
func TestFSFileStore(t *testing.T) {
dir := t.TempDir()
s, err := gpaste.NewFSFileStore(dir)
if err != nil {
t.Fatalf("Error creating store: %s", err)
}
RunFilestoreTest(s, t)
}