From a78ab5bdcda1e98bb43673be2ffda39435b91fda Mon Sep 17 00:00:00 2001 From: Jack Christensen Date: Sat, 13 Feb 2021 09:39:42 -0600 Subject: [PATCH] Test should abort if cannot setup database --- pgconn_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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{}