Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed "Comparable#== will no more rescue exceptions of #<=>" (bsc#933…
…470) Term and Path would raise exceptions when <=> was used to compare them with something that was not a Term or Path. In particular it happened during RSpec argument matching. In older Ruby core, Comparable#== would silently mask such exceptions, now it started producing warnings. https://bugs.ruby-lang.org/issues/7688
- Loading branch information
Showing
4 changed files
with
13 additions
and
6 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
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