lib/fs: Improve case conflict error message (fixes #7827) (#7829)

This commit is contained in:
tomasz1986
2021-08-01 22:44:49 +02:00
committed by GitHub
parent 37d0ba1660
commit 5a1f6cb813
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1203,7 +1203,7 @@ func testPullCaseOnlyDirOrSymlink(t *testing.T, dir bool) {
}
if errStr, ok := f.tempPullErrors[remote.Name]; !ok {
t.Error("missing error for", remote.Name)
} else if !strings.Contains(errStr, "differs from name") {
} else if !strings.Contains(errStr, "uses different upper or lowercase") {
t.Error("unexpected error", errStr, "for", remote.Name)
}
}