1
0
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:
gedi
2015-08-28 11:06:14 +03:00
parent 711064c51d
commit febff80c09
7 changed files with 95 additions and 72 deletions

View File

@ -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)