diff options
Diffstat (limited to 'src/errors/wrap_test.go')
| -rw-r--r-- | src/errors/wrap_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/errors/wrap_test.go b/src/errors/wrap_test.go index 657890c1a6..022f429c0c 100644 --- a/src/errors/wrap_test.go +++ b/src/errors/wrap_test.go @@ -90,6 +90,10 @@ func TestAs(t *testing.T) { target interface{} match bool }{{ + nil, + &errP, + false, + }, { wrapped{"pittied the fool", errorT{}}, &errT, true, |
