Browse Source

It was too noisy

Piotr Czajkowski 4 years ago
parent
commit
670a10a7b1
1 changed files with 1 additions and 7 deletions
  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)
 	}
 }