mirror of
https://github.com/jackc/pgx.git
synced 2025-05-31 11:42:24 +00:00
Remove commented out test
This commit is contained in:
parent
713a8f48a7
commit
92b204309c
@ -79,34 +79,6 @@ func TestSanitizeSql(t *testing.T) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO
|
|
||||||
func TestNilTranscode(t *testing.T) {
|
|
||||||
// t.Parallel()
|
|
||||||
|
|
||||||
// conn := mustConnect(t, *defaultConnConfig)
|
|
||||||
// defer closeConn(t, conn)
|
|
||||||
|
|
||||||
// var inputNil interface{}
|
|
||||||
// inputNil = nil
|
|
||||||
|
|
||||||
// result := mustSelectValue(t, conn, "select $1::integer", inputNil)
|
|
||||||
// if result != nil {
|
|
||||||
// t.Errorf("Did not transcode nil successfully for normal query: %v", result)
|
|
||||||
// }
|
|
||||||
|
|
||||||
// mustPrepare(t, conn, "testTranscode", "select $1::integer")
|
|
||||||
// defer func() {
|
|
||||||
// if err := conn.Deallocate("testTranscode"); err != nil {
|
|
||||||
// t.Fatalf("Unable to deallocate prepared statement: %v", err)
|
|
||||||
// }
|
|
||||||
// }()
|
|
||||||
|
|
||||||
// result = mustSelectValue(t, conn, "testTranscode", inputNil)
|
|
||||||
// if result != nil {
|
|
||||||
// t.Errorf("Did not transcode nil successfully for prepared query: %v", result)
|
|
||||||
// }
|
|
||||||
}
|
|
||||||
|
|
||||||
func TestDateTranscode(t *testing.T) {
|
func TestDateTranscode(t *testing.T) {
|
||||||
t.Parallel()
|
t.Parallel()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user