-
Notifications
You must be signed in to change notification settings - Fork 562
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Extended Mock#expect to record kwargs.
- Extended Mock#__call to display kwargs. - Extended Mock#method_missing to take kwargs & compare them against expected. + Mock#method_missing displays better errors on arity mismatch. Added a buuunch of tests for mocking [git-p4: depot-paths = "//src/minitest/dev/": change = 13434]
- Loading branch information
Showing
2 changed files
with
188 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters