(t *testing.T)
| 28 | } |
| 29 | |
| 30 | func TestWrapNil(t *testing.T) { |
| 31 | got := Wrap(nil, "no error") |
| 32 | if got != nil { |
| 33 | t.Errorf("Wrap(nil, \"no error\"): got %#v, expected nil", got) |
| 34 | } |
| 35 | } |
| 36 | |
| 37 | func TestWrap(t *testing.T) { |
| 38 | tests := []struct { |
nothing calls this directly
no test coverage detected
searching dependent graphs…