You've already forked go-sqlmock
mirror of
https://github.com/DATA-DOG/go-sqlmock.git
synced 2025-06-16 23:57:35 +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