-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- enclose output in single quotes instead of double quotes to avoid unwanted side effects of parameter substitution or command exection by the shell - replace single quotes accordingly, so that the variable assignment still results in the correct value (containing a single quote) - remove backslashes that escape double quotes to retain previous behavior
- Loading branch information
Showing
4 changed files
with
29 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Test fixture: quoted values | ||
|
||
--- | ||
|
||
double_quotes: "this is a quoted string" | ||
single_quotes: 'this is in single quotes' | ||
nested_quotes: 'there may be "double quotes" inside of single quotes' | ||
single_quotes_in_double: "also here it's possible to have single quotes" | ||
double_quotes_in_double: "masked \"double quotes\" inside of double quotes" |
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