AssertTruef is AssertTrue with extra info.
(b bool, format string, args ...interface{})
| 88 | |
| 89 | // AssertTruef is AssertTrue with extra info. |
| 90 | func AssertTruef(b bool, format string, args ...interface{}) { |
| 91 | if !b { |
| 92 | log.Fatalf("%+v", errors.Errorf(format, args...)) |
| 93 | } |
| 94 | } |
| 95 | |
| 96 | // AssertTruefNoTrace is AssertTruef without a stack trace. |
| 97 | func AssertTruefNoTrace(b bool, format string, args ...interface{}) { |
no test coverage detected