FailNow marks the test as failed and skips further execution
()
| 72 | |
| 73 | // FailNow marks the test as failed and skips further execution |
| 74 | func (t *T) FailNow() { |
| 75 | t.Fail() |
| 76 | panic(ErrFailNow) |
| 77 | } |
| 78 | |
| 79 | // Failed returns true if the test was marked as failed |
| 80 | func (t *T) Failed() bool { |