1
0
mirror of https://github.com/zhashkevych/go-sqlxmock.git synced 2025-06-12 21:47:29 +02:00
Commit Graph

11 Commits

Author SHA1 Message Date
8cf05c23ad added tests 2019-12-04 10:38:13 +03:00
03d1707c76 added tests 2019-12-04 09:26:45 +03:00
5dc976bc43 added tests 2019-12-03 13:46:20 +03:00
dd0fe2afd6 Add ExpectPing to watch for db Ping calls 2019-11-06 14:15:28 +00:00
6c8a572d09 for some reason transaction statement was not working on go1.8 2019-06-07 09:38:57 +03:00
4ee1fdaf44 closes #159 2019-06-07 09:26:40 +03:00
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
395520ee2d Correct spelling
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
2017-11-25 09:32:17 -05:00
42ab7c33d0 implements Pinger (without expectation yet) and prepared stmt Context methods 2017-02-08 15:32:39 +02:00
cfb2877c66 tests Context sql driver extensions 2017-02-07 15:03:05 +02:00
965003de80 implements Context based sql driver extensions 2017-02-07 12:20:08 +02:00