Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Raise an error if a yield matcher is used w/ an expect block that acc…
…epts no args. The expect block must accept an arg, and pass it on to the method-under-test as a block, in order for these yield matchers to work properly. Since this is atypical for an expect block, this error will help guide people when they use these matchers incorrectly.
- Loading branch information
1 parent
0e79594
commit 66a2f01
Showing
2 changed files
with
45 additions
and
0 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