Test domains when registered and unregistered
Fix bug assigning to unknown type.
This commit is contained in:
+1
-1
@@ -889,7 +889,7 @@ func TestQueryRowErrors(t *testing.T) {
|
||||
}{
|
||||
// {"select $1::badtype", []interface{}{"Jack"}, []interface{}{&actual.i16}, `type "badtype" does not exist`},
|
||||
// {"SYNTAX ERROR", []interface{}{}, []interface{}{&actual.i16}, "SQLSTATE 42601"},
|
||||
{"select $1::text", []interface{}{"Jack"}, []interface{}{&actual.i16}, "cannot decode"},
|
||||
{"select $1::text", []interface{}{"Jack"}, []interface{}{&actual.i16}, "unable to assign"},
|
||||
// {"select $1::point", []interface{}{int(705)}, []interface{}{&actual.s}, "cannot convert 705 to Point"},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user