mirror of
https://gitee.com/johng/gf
synced 2026-06-06 02:25:47 +08:00
test(drivers/mysql): loose unit testing for transaction (#3819)
This commit is contained in:
@ -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)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user