Skip to content

Commit

Permalink
test: use toIPv4
Browse files Browse the repository at this point in the history
  • Loading branch information
ernado committed Jan 29, 2022
1 parent 57c13bf commit c9269f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion query_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ func TestClient_Query(t *testing.T) {
t.Parallel()
var data proto.ColIPv4
require.NoError(t, Conn(t).Do(ctx, Query{
Body: `SELECT '10.10.0.1'::IPv4 as v`,
Body: `SELECT toIPv4('10.10.0.1') as v`,
Result: proto.Results{
{Name: "v", Data: &data},
},
Expand Down

0 comments on commit c9269f2

Please sign in to comment.