Skip to content

Commit

Permalink
Merge pull request #131 from SDBlackwood/docs-update-expecations-docs
Browse files Browse the repository at this point in the history
[*] docs: update comment to include option to match out of order
  • Loading branch information
pashagolub committed Mar 24, 2023
2 parents aa4d266 + 2c5d787 commit 688e6bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pgxmock.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ type pgxMockIface interface {
ExpectClose() *ExpectedClose

// ExpectationsWereMet checks whether all queued expectations
// were met in order. If any of them was not met - an error is returned.
// were met in order (unless MatchExpectationsInOrder set to false).
// If any of them was not met - an error is returned.
ExpectationsWereMet() error

// ExpectPrepare expects Prepare() to be called with expectedSQL query.
Expand Down

0 comments on commit 688e6bf

Please sign in to comment.