Skip to content

Commit

Permalink
Merge pull request #7 from MetalheadSanya/fix-inorder-greedy-offset
Browse files Browse the repository at this point in the history
Fix InOrder 'greedy' offset bechavior
  • Loading branch information
MetalheadSanya authored Oct 17, 2023
2 parents 56a36e8 + 0e1b4d0 commit ad3ddea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/SwiftMock/InOrder/InOrderContainer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ class InOrderContainer: CallContainer {
}

callCount += 1
lastCheckedIndex = index
}
guard times(callCount) else {
testFailureReport("\(type).\(function): incorrect calls count: \(callCount)")
Expand Down

0 comments on commit ad3ddea

Please sign in to comment.