Skip to content

Commit d3730a1

Browse files
committed
update test
1 parent c662329 commit d3730a1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

testing/go/functions_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2069,6 +2069,10 @@ func TestSelectFromFunctions(t *testing.T) {
20692069
Query: `SELECT * FROM array_to_string(ARRAY[37.89, 1.2], '_');`,
20702070
Expected: []sql.Row{{"37.89_1.2"}},
20712071
},
2072+
{
2073+
Query: `SELECT * FROM format_type('text'::regtype, 4);`,
2074+
Expected: []sql.Row{{"text(4)"}},
2075+
},
20722076
{
20732077
Query: `SELECT * from format_type(874938247, 20);`,
20742078
Expected: []sql.Row{{"???"}},

0 commit comments

Comments
 (0)