Clarify invalid vs not-supported

This commit is contained in:
Tim Hockin
2015-11-03 14:47:43 -08:00
parent 2c60a97e72
commit f8ad75df44
5 changed files with 21 additions and 22 deletions

View File

@@ -31,7 +31,7 @@ func TestMakeFuncs(t *testing.T) {
ErrorTypeInvalid,
},
{
func() *Error { return NewFieldValueNotSupported("f", "v", nil) },
func() *Error { return NewFieldNotSupported("f", "v", nil) },
ErrorTypeNotSupported,
},
{