fix tests

This commit is contained in:
Tejal Desai
2020-06-06 11:37:35 -07:00
parent b9d25dd5db
commit c576771497
+2
View File
@@ -66,6 +66,7 @@ func TestSnapshotFSFileChange(t *testing.T) {
}
for _, path := range util.ParentDirectoriesWithoutLeadingSlash(batPath) {
if path == "/" {
snapshotFiles["/"] = ""
continue
}
snapshotFiles[path+"/"] = ""
@@ -164,6 +165,7 @@ func TestSnapshotFSChangePermissions(t *testing.T) {
}
for _, path := range util.ParentDirectoriesWithoutLeadingSlash(batPathWithoutLeadingSlash) {
if path == "/" {
snapshotFiles["/"] = ""
continue
}
snapshotFiles[path+"/"] = ""