Explorar el Código

Fix typos

Signed-off-by: wingkwong <wingkwong.code@gmail.com>
wingkwong hace 5 años
padre
commit
544c766d97
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      builder/dockerignore/dockerignore_test.go

+ 2 - 2
builder/dockerignore/dockerignore_test.go

@@ -43,7 +43,7 @@ func TestReadAll(t *testing.T) {
 	}
 	}
 
 
 	if len(di) != 7 {
 	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" {
 	if di[0] != "test1" {
 		t.Fatal("First element is not 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])
 		t.Fatalf("Sixth element is not !, but %s", di[5])
 	}
 	}
 	if di[6] != "!" {
 	if di[6] != "!" {
-		t.Fatalf("Sixth element is not !, but %s", di[6])
+		t.Fatalf("Seventh element is not !, but %s", di[6])
 	}
 	}
 }
 }