summaryrefslogtreecommitdiff
path: root/testing/pgruntime/connect_test.go
diff options
context:
space:
mode:
authorStefan Majewsky <majewsky@gmx.net>2026-11-10 00:32:16 +0100
committerStefan Majewsky <majewsky@gmx.net>2026-11-10 00:32:16 +0100
commitf082ae9a138edd1ee1bcdfc40276013064fbec7e (patch)
treec18e5e63f283912f0989e9e82701ca28ff52c332 /testing/pgruntime/connect_test.go
parent833e477420513a46faa4ebcc1164c50a8288a9ab (diff)
downloadgo-gg-f082ae9a138edd1ee1bcdfc40276013064fbec7e.tar.gz
replace execQuery() with new gsql.Exec() helper
Diffstat (limited to 'testing/pgruntime/connect_test.go')
-rw-r--r--testing/pgruntime/connect_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/testing/pgruntime/connect_test.go b/testing/pgruntime/connect_test.go
index f43c6f8..d821fb0 100644
--- a/testing/pgruntime/connect_test.go
+++ b/testing/pgruntime/connect_test.go
@@ -7,6 +7,7 @@ import (
"testing"
"go.xyrillian.de/gg/assert"
+ "go.xyrillian.de/gg/gsql"
"go.xyrillian.de/gg/oblast"
)
@@ -21,7 +22,7 @@ func TestMultipleConnectionsToSameDB(t *testing.T) {
`INSERT INTO objects (name) VALUES ('foo')`, // -> id = 1
`INSERT INTO objects (name) VALUES ('bar')`, // -> id = 2
} {
- _, err := execQuery(ctx, db1, query, nil)
+ _, err := gsql.Exec(ctx, db1, query)
if err != nil {
t.Fatalf("in query %q: %s", query, err.Error())
}