Merge pull request #40488 from wingkwong/master

Fix typos in dockerignore_test.go
This commit is contained in:
Sebastiaan van Stijn 2020-02-11 00:09:42 +01:00 committed by GitHub
commit f88710d368
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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])
}
}