Merge pull request #2712 from liyongxin/master

typo fix from existant to existent
This commit is contained in:
Olivier Gambier
2018-09-13 15:03:39 -07:00
committed by GitHub

View File

@@ -217,7 +217,7 @@ func TestProxyManifests(t *testing.T) {
t.Fatalf("Error checking existence") t.Fatalf("Error checking existence")
} }
if !exists { if !exists {
t.Errorf("Unexpected non-existant manifest") t.Errorf("Unexpected non-existent manifest")
} }
if (*localStats)["exists"] != 1 && (*remoteStats)["exists"] != 1 { if (*localStats)["exists"] != 1 && (*remoteStats)["exists"] != 1 {
@@ -252,7 +252,7 @@ func TestProxyManifests(t *testing.T) {
t.Fatal(err) t.Fatal(err)
} }
if !exists { if !exists {
t.Errorf("Unexpected non-existant manifest") t.Errorf("Unexpected non-existent manifest")
} }
if (*localStats)["exists"] != 2 && (*remoteStats)["exists"] != 1 { if (*localStats)["exists"] != 2 && (*remoteStats)["exists"] != 1 {