diff options
Diffstat (limited to 'pkg/field/error_test.go')
-rw-r--r-- | pkg/field/error_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/field/error_test.go b/pkg/field/error_test.go index 45e8f83..e87083e 100644 --- a/pkg/field/error_test.go +++ b/pkg/field/error_test.go @@ -8,7 +8,7 @@ import ( ) func requireErrorTypeMatch(t *testing.T, err error, expected error) { - require.Equalf(t, reflect.TypeOf(err), reflect.TypeOf(expected), "Invalid error type. Got %s but expected %s", reflect.TypeOf(err), reflect.TypeOf(expected)) + require.Equalf(t, reflect.TypeOf(expected), reflect.TypeOf(err), "Invalid error type. Got %s but expected %s", reflect.TypeOf(err), reflect.TypeOf(expected)) } func TestErrorsCoverage(t *testing.T) { |