(tb testing.TB, v interface{})
| 36 | } |
| 37 | |
| 38 | func assertNil(tb testing.TB, v interface{}) { |
| 39 | if v != nil && !reflect.ValueOf(v).IsNil() { |
| 40 | tb.Fatalf("expected nil, but got: %+v", v) |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | func assertPanic(t *testing.T, f func()) { |
| 45 | defer func() { |
no outgoing calls
no test coverage detected
searching dependent graphs…