Skip to content

Commit

Permalink
test(drivers/mysql): loose unit testing for transaction (#3819)
Browse files Browse the repository at this point in the history
  • Loading branch information
oldme-git authored Sep 28, 2024
1 parent 79451e4 commit 8708dc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/drivers/mysql/mysql_z_unit_transaction_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,10 @@ func Test_TX_Prepare(t *testing.T) {
t.AssertNil(err)
t.Assert(array[0], "100")

rows.Close()
err = rows.Close()
t.AssertNil(err)

tx.Commit()
err = tx.Commit()
t.AssertNil(err)
})
}
Expand Down

0 comments on commit 8708dc7

Please sign in to comment.