diff --git a/pgconn_test.go b/pgconn_test.go index b71e7d3f..76156420 100644 --- a/pgconn_test.go +++ b/pgconn_test.go @@ -990,7 +990,7 @@ func TestConnExecBatchDeferredError(t *testing.T) { insert into t (id, n) values ('a', 1), ('b', 2), ('c', 3);` _, err = pgConn.Exec(context.Background(), setupSQL).ReadAll() - assert.NoError(t, err) + require.NoError(t, err) batch := &pgconn.Batch{}