typo fix from existant to existent

Signed-off-by: liyongxin <yxli@alauda.io>
Signed-off-by: Yongxin Li <yxli@alauda.io>
This commit is contained in:
liyongxin 2018-09-13 14:08:39 +08:00 committed by Yongxin Li
parent a5c2fdc5b8
commit 6133840f49

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 {