mirror of
https://github.com/DATA-DOG/go-sqlmock.git
synced 2025-01-22 03:08:44 +02:00
closes #60
This commit is contained in:
parent
cfb2877c66
commit
6bbe187a1a
@ -67,6 +67,11 @@ type Sqlmock interface {
|
||||
// By default it is set to - true. But if you use goroutines
|
||||
// to parallelize your query executation, that option may
|
||||
// be handy.
|
||||
//
|
||||
// This option may be turned on anytime during tests. As soon
|
||||
// as it is switched to false, expectations will be matched
|
||||
// in any order. Or otherwise if switched to true, any unmatched
|
||||
// expectations will be expected in order
|
||||
MatchExpectationsInOrder(bool)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user