diff options
-rw-r--r-- | pkg/config/config_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/config/config_test.go b/pkg/config/config_test.go index af18fc1..02f2840 100644 --- a/pkg/config/config_test.go +++ b/pkg/config/config_test.go @@ -57,6 +57,7 @@ func TestLoadFile(t *testing.T) { if tc.expectedError != nil { require.Error(t, err) assert.Equalf(t, reflect.TypeOf(err), reflect.TypeOf(tc.expectedError), "Invalid error type. Got %s but expected %s", reflect.TypeOf(err), reflect.TypeOf(tc.expectedError)) + require.Nil(t, valid) } else { require.NoError(t, err) } |