Torjus Håkestad
1cb169318c
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
18 lines
265 B
Go
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)
|
|
}
|