You've already forked go-sqlxmock
mirror of
https://github.com/zhashkevych/go-sqlxmock.git
synced 2025-12-05 22:06:47 +02:00
do not expose sql driver methods for sqlmock, give interface
This commit is contained in:
@@ -586,7 +586,7 @@ func TestGoroutineExecutionWithUnorderedExpectationMatching(t *testing.T) {
|
||||
defer db.Close()
|
||||
|
||||
// note this line is important for unordered expectation matching
|
||||
mock.MatchExpectationsInOrder = false
|
||||
mock.MatchExpectationsInOrder(false)
|
||||
|
||||
result := NewResult(1, 1)
|
||||
|
||||
@@ -626,7 +626,7 @@ func ExampleSqlmock_goroutines() {
|
||||
defer db.Close()
|
||||
|
||||
// note this line is important for unordered expectation matching
|
||||
mock.MatchExpectationsInOrder = false
|
||||
mock.MatchExpectationsInOrder(false)
|
||||
|
||||
result := NewResult(1, 1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user