2
0

adjust the test for the patch

This commit is contained in:
jinhua luo
2019-06-25 02:12:56 +08:00
committed by GitHub
parent 39b09f2c4a
commit e07faf207d
+1 -1
View File
@@ -108,7 +108,7 @@ func TestQuerySanitize(t *testing.T) {
{
query: sanitize.Query{Parts: []sanitize.Part{"select ", 1}},
args: []interface{}{[]byte{0, 1, 2, 3, 255}},
expected: `select '\x00010203ff'`,
expected: `select '\x00010203ff'::bytea`,
},
{
query: sanitize.Query{Parts: []sanitize.Part{"select ", 1}},