Error asserts err != nil.
(t testing.TB, err error)
| 28 | |
| 29 | // Error asserts err != nil. |
| 30 | func Error(t testing.TB, err error) { |
| 31 | t.Helper() |
| 32 | |
| 33 | if err == nil { |
| 34 | t.Fatal("expected error") |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | // Contains asserts the fmt.Sprint(v) contains sub. |
| 39 | func Contains(t testing.TB, v any, sub string) { |
no outgoing calls
searching dependent graphs…