Skip to content

Commit 23ca809

Browse files
committed
rebase and fix staticcheck
1 parent 085a408 commit 23ca809

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

driver_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2434,6 +2434,7 @@ func TestExecMultipleResults(t *testing.T) {
24342434
t.Fatalf("failed to connect: %v", err)
24352435
}
24362436
conn.Raw(func(conn interface{}) error {
2437+
//lint:ignore SA1019 this is a test
24372438
ex := conn.(driver.Execer)
24382439
res, err := ex.Exec(`
24392440
INSERT INTO test (value) VALUES ('a'), ('b');
@@ -2491,8 +2492,8 @@ func TestQueryMultipleResults(t *testing.T) {
24912492
t.Fatalf("failed to connect: %v", err)
24922493
}
24932494
conn.Raw(func(conn interface{}) error {
2495+
//lint:ignore SA1019 this is a test
24942496
qr := conn.(driver.Queryer)
2495-
24962497
c := conn.(*mysqlConn)
24972498

24982499
// Demonstrate that repeated queries reset the affectedRows

0 commit comments

Comments
 (0)