1
0
mirror of https://github.com/DATA-DOG/go-sqlmock.git synced 2025-12-21 23:47:39 +02:00
Files
go-sqlmock/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