소스 검색

It was too noisy

Piotr Czajkowski 5 년 전
부모
커밋
670a10a7b1
1개의 변경된 파일1개의 추가작업 그리고 7개의 파일을 삭제
  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)
 	}
 }