diff --git a/viper_test.go b/viper_test.go index befbc66..a03b14e 100644 --- a/viper_test.go +++ b/viper_test.go @@ -148,7 +148,7 @@ func (s *stringValue) String() string { func TestBasics(t *testing.T) { SetConfigFile("/tmp/config.yaml") cf, err := v.getConfigFile() - assert.Equal(t, nil, err) + assert.Nil(t, err) assert.Equal(t, "/tmp/config.yaml", cf) }