Darien Raymond преди 8 години
родител
ревизия
afe190316d
променени са 1 файла, в които са добавени 1 реда и са изтрити 2 реда
  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) {