(tb testing.TB, want, have string)
| 57 | } |
| 58 | |
| 59 | func equalStr(tb testing.TB, want, have string) { |
| 60 | tb.Helper() |
| 61 | if have != want { |
| 62 | tb.Errorf("want: %q have: %q", want, have) |
| 63 | } |
| 64 | } |
| 65 | |
| 66 | // mustFail compares the error strings |
| 67 | func mustFail(tb testing.TB, err error, want string) { |
nothing calls this directly
no outgoing calls
no test coverage detected