From 793eb53017ea8bf9a5ee2557c9b24b98ae9cffb4 Mon Sep 17 00:00:00 2001 From: Jack Christensen Date: Tue, 22 Mar 2022 19:28:48 -0500 Subject: [PATCH] Enable test with updated error message --- query_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/query_test.go b/query_test.go index 7529e076..7c9077c5 100644 --- a/query_test.go +++ b/query_test.go @@ -1889,7 +1889,6 @@ func TestConnQueryFunc(t *testing.T) { } func TestConnQueryFuncScanError(t *testing.T) { - t.Skip("TODO - unskip later in v5") t.Parallel() testWithAllQueryExecModes(t, func(t *testing.T, conn *pgx.Conn) { @@ -1906,7 +1905,7 @@ func TestConnQueryFuncScanError(t *testing.T) { return nil }, ) - require.EqualError(t, err, "can't scan into dest[0]: unable to assign to *int") + require.EqualError(t, err, "can't scan into dest[0]: cannot scan OID 25 in text format into *int") require.Nil(t, ct) }) }