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.
20 lines
298 B
Go
20 lines
298 B
Go
3 years ago
|
package swampfile
|
||
|
|
||
|
import (
|
||
|
"path"
|
||
|
"testing"
|
||
|
"caj-larsson/bog/dataswamp/swampfile"
|
||
|
)
|
||
|
|
||
|
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)
|
||
|
}
|