Skip to content

Commit

Permalink
docs: update comment to include option to match out of order
Browse files Browse the repository at this point in the history
  • Loading branch information
SDBlackwood committed Mar 24, 2023
1 parent aa4d266 commit 2c5d787
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 2c5d787

Please sign in to comment.