fail fast

This commit is contained in:
Darien Raymond
2017-10-20 23:54:07 +02:00
parent 1c29d1535c
commit afe190316d
+1 -2
View File
@@ -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) {