Darien Raymond il y a 8 ans
Parent
commit
afe190316d
1 fichiers modifiés avec 1 ajouts et 2 suppressions
  1. 1 2
      testing/assert/assert.go

+ 1 - 2
testing/assert/assert.go

@@ -19,8 +19,7 @@ type Assert struct {
 }
 
 func (v *Assert) Fail(message string) {
-	fmt.Println(decorate(message))
-	v.t.Fail()
+	v.t.Fatal(decorate(message))
 }
 
 func getCaller() (string, int) {