diff options
author | wingkwong <wingkwong.code@gmail.com> | 2020-02-10 20:59:04 +0800 |
---|---|---|
committer | wingkwong <wingkwong.code@gmail.com> | 2020-02-10 20:59:04 +0800 |
commit | 544c766d977e29856d804b3a99a12485a68e9cb0 (patch) | |
tree | 43a6e52dbd420ee78ad52dcdc3b285abe1992a8e /builder | |
parent | 400c1bae0cd9e0216bd48371a9f9c6582e0b2794 (diff) | |
download | docker-544c766d977e29856d804b3a99a12485a68e9cb0.tar.gz |
Fix typos
Signed-off-by: wingkwong <wingkwong.code@gmail.com>
Diffstat (limited to 'builder')
-rw-r--r-- | builder/dockerignore/dockerignore_test.go | 4 |
1 files 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]) } } |