2
0

Test domains when registered and unregistered

Fix bug assigning to unknown type.
This commit is contained in:
Jack Christensen
2019-04-13 17:09:51 -05:00
parent a6bdd8fd49
commit 5cc4796c96
39 changed files with 88 additions and 5 deletions
+1 -1
View File
@@ -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"},
}