Assure existence of a folder marker in the test

This commit is contained in:
Jakob Borg 2015-05-14 08:46:00 +02:00
parent 9d150bef9f
commit f3fe6a6cbd

View File

@ -474,6 +474,7 @@ func TestIgnores(t *testing.T) {
}
// Assure a clean start state
ioutil.WriteFile("testdata/.stfolder", nil, 0644)
ioutil.WriteFile("testdata/.stignore", []byte(".*\nquux\n"), 0644)
db, _ := leveldb.Open(storage.NewMemStorage(), nil)