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
commit b089e91688
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 {