1
0
mirror of https://github.com/zhashkevych/go-sqlxmock.git synced 2025-12-05 22:06:47 +02:00
Files
go-sqlxmock/sqlmock.go
Wachowski 32675e3ad1 delay for WillDelayFor() duration, before returning error set by WillReturnError()
If both WillDelayFor() and WillReturnError() are called, there should
be a delay before the error is returned.  Applied to Begin, Exec,
Query, and Prepare.  Also, the context versions of same.

And a couple of unit tests.
2018-02-20 17:30:20 -07:00

14 KiB