-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed break specs unnecessarily relying on and guarding against block…
… argument shadowing behaviour. Rather than guard the spec and duplicate it incorrectly (the previous version had, for 1.9, specs that would succeed regardless of the behaviour of break), it should simply not depend on whether or not the blockarg shadows the outer variable. As such, specs that need this behaviour update an at variable instead of directly assigning to it through their block args.
- Loading branch information
Showing
1 changed file
with
20 additions
and
48 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