You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package swampfile
|
|
|
|
import (
|
|
"caj-larsson/bog/dataswamp/swampfile"
|
|
"path"
|
|
"testing"
|
|
)
|
|
|
|
func TestFsFileRepo(t *testing.T) {
|
|
|
|
var fac = func() swampfile.Repository {
|
|
r := t.TempDir()
|
|
d := path.Join(r, "fs")
|
|
repo := Repository{d}
|
|
return &repo
|
|
}
|
|
|
|
swampfile.RepositoryContract(fac, t)
|
|
}
|