From 732534b944e1dfa204c25835e49c5592c13913ff Mon Sep 17 00:00:00 2001 From: Jack Christensen Date: Mon, 1 Jul 2013 16:43:27 -0500 Subject: [PATCH] Add test for boolean transcoding --- connection_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/connection_test.go b/connection_test.go index 957a6423..d86f9bdd 100644 --- a/connection_test.go +++ b/connection_test.go @@ -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) + `'`