diff options
Diffstat (limited to 'errors_test.go')
| -rw-r--r-- | errors_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/errors_test.go b/errors_test.go index 81ee395..bec0650 100644 --- a/errors_test.go +++ b/errors_test.go @@ -7,7 +7,7 @@ import ( "errors" "testing" - "go.xyrillian.de/oblast/internal/testhelpers/assert" + "go.xyrillian.de/gg/assert" ) type fooError struct{} @@ -24,7 +24,7 @@ func TestIOError(t *testing.T) { err = newIOError(fooError{}, "File.Close", nil) assert.ErrEqual(t, err, "foo") - assert.DeepEqual(t, err, error(fooError{})) // check for no wrapping in type ioError without cleanup error + assert.Equal(t, err, error(fooError{})) // check for no wrapping in type ioError without cleanup error err = newIOError(nil, "File.Close", barError{}) assert.ErrEqual(t, err, "during File.Close(): bar") |
