Browse Source

Assure existence of a folder marker in the test

Jakob Borg 10 years ago
parent
commit
f3fe6a6cbd
1 changed files with 1 additions and 0 deletions
  1. 1 0
      internal/model/model_test.go

+ 1 - 0
internal/model/model_test.go

@@ -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)