From 544c766d977e29856d804b3a99a12485a68e9cb0 Mon Sep 17 00:00:00 2001 From: wingkwong Date: Mon, 10 Feb 2020 20:59:04 +0800 Subject: [PATCH] Fix typos Signed-off-by: wingkwong --- builder/dockerignore/dockerignore_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builder/dockerignore/dockerignore_test.go b/builder/dockerignore/dockerignore_test.go index 06186cc120..655bd6f332 100644 --- a/builder/dockerignore/dockerignore_test.go +++ b/builder/dockerignore/dockerignore_test.go @@ -43,7 +43,7 @@ func TestReadAll(t *testing.T) { } if len(di) != 7 { - t.Fatalf("Expected 5 entries, got %v", len(di)) + t.Fatalf("Expected 7 entries, got %v", len(di)) } if di[0] != "test1" { t.Fatal("First element is not test1") @@ -64,6 +64,6 @@ func TestReadAll(t *testing.T) { t.Fatalf("Sixth element is not !, but %s", di[5]) } if di[6] != "!" { - t.Fatalf("Sixth element is not !, but %s", di[6]) + t.Fatalf("Seventh element is not !, but %s", di[6]) } }