2
0

Add test for boolean transcoding

This commit is contained in:
Jack Christensen
2013-07-01 16:43:27 -05:00
parent ecd3923968
commit 732534b944
+1
View File
@@ -324,6 +324,7 @@ func TestPrepare(t *testing.T) {
testTranscode("select $1::int8", int64(1))
testTranscode("select $1::float4", float32(1.23))
testTranscode("select $1::float8", float64(1.23))
testTranscode("select $1::boolean", true)
// case []byte:
// s = `E'\\x` + hex.EncodeToString(arg) + `'`