Proper nil assert

This commit is contained in:
Vlad Didenko 2015-05-23 20:27:16 -05:00
parent 7fe5335130
commit cf1f00f226

View file

@ -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)
}