mirror of
https://gitee.com/johng/gf.git
synced 2024-11-29 18:57:44 +08:00
test(drivers/mysql): loose unit testing for transaction (#3819)
This commit is contained in:
parent
79451e4624
commit
8708dc7940
@ -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)
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user