2
0

Test should abort if cannot setup database

This commit is contained in:
Jack Christensen
2021-02-13 09:39:42 -06:00
parent 9cf5752625
commit a78ab5bdcd
+1 -1
View File
@@ -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{}