(tb testing.TB, cond bool, msg string, args ...interface{})
| 67 | } |
| 68 | |
| 69 | func Errorf(tb testing.TB, cond bool, msg string, args ...interface{}) { |
| 70 | if !cond { |
| 71 | printStack() |
| 72 | tb.Errorf(msg, args...) |
| 73 | } |
| 74 | } |
| 75 | |
| 76 | // TODO: Make this a range over `errCh` post closing it ? |
| 77 | func SelectErr(tb testing.TB, errCh chan error, verb string, errIsFatal bool) { |