pashagolub / pgxmock

pgx mock driver for golang to test database interactions
Other
386 stars 49 forks source link

[*] docs: update comment to include option to match out of order #131

Closed SDBlackwood closed 1 year ago

SDBlackwood commented 1 year ago

This PR is more than a question than anything.

Is it the case that MatchExpectationsInOrder is set to false ExpectationsWereMet will allow matching in any order. Hence the documentation is slightly confusing as it is not clear that ExpectationsWereMet should be used if we are using goroutines.

Does this addition represent the behaviour more closely?

pashagolub commented 1 year ago

Thanks