-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There has been a change in how Ruby prints errors, which seems to have impacted a test that was checking stdout. The Ruby change discussion talks about printing unhandled errors, and in our case we're printing the results of an exception's `#inspect` method in a `rescue` block, but it seems too closely-related to be a coincidence. Aside from making the output go all on a single line (so the newlines in the HEREDOC were being removed), the escape sequences were being double-escaped (so every `\"` became `\\"`). Putting single-quotes around the opening identifier avoids this issue. Ruby language change discussion: https://bugs.ruby-lang.org/issues/18367
- Loading branch information
1 parent
6f6e186
commit 830c6cd
Showing
3 changed files
with
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
3.1.2 | ||
3.2.2 |
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