Explorar o código

It was too noisy

Piotr Czajkowski %!s(int64=5) %!d(string=hai) anos
pai
achega
670a10a7b1
Modificáronse 1 ficheiros con 1 adicións e 7 borrados
  1. 1 7
      stringFromTemplate_test.go

+ 1 - 7
stringFromTemplate_test.go

@@ -21,9 +21,7 @@ And something else here {{.Second}}`
 	result := ToString(templateString, test)
 
 	if expected != result {
-		t.Errorf("%v", result)
-	} else {
-		t.Log("String constructed properly.")
+		t.Errorf("Wrong result: %v", result)
 	}
 }
 
@@ -37,8 +35,6 @@ And something else here {{.Second}}`
 
 	if expected == result {
 		t.Error("It should fail on template parsing!")
-	} else {
-		t.Log(result)
 	}
 }
 
@@ -57,7 +53,5 @@ And something else here {{.Second}}`
 
 	if expected == result {
 		t.Error("It should fail!")
-	} else {
-		t.Log(result)
 	}
 }