Closed Wolfthuk closed 7 years ago
42sh/quoting/double-quotes/mixed/escaping/004-it-results-in-error (FAILED)
Description: The purpose of this test is to check that using backslash \\ before the closing double-quote " does result in syntax error.
\\
"
STDIN: 01: ./write_on_stdout "TOKEN201612111732\"
STDOUT: SUCCESS expected_to_not match_regex ^TOKEN201612111732$ 01: TOKEN201612111732"
^TOKEN201612111732$
STDERR: FAILURE expected_to_not be_empty WARNING might match_regex ([Ss]yntax|[Pp]arse) error (no output)
([Ss]yntax|[Pp]arse) error
C'est un choix
42sh/quoting/double-quotes/mixed/escaping/004-it-results-in-error (FAILED)
Description: The purpose of this test is to check that using backslash
\\
before the closing double-quote"
does result in syntax error.STDIN: 01: ./write_on_stdout "TOKEN201612111732\"
STDOUT: SUCCESS expected_to_not match_regex
^TOKEN201612111732$
01: TOKEN201612111732"STDERR: FAILURE expected_to_not be_empty WARNING might match_regex
([Ss]yntax|[Pp]arse) error
(no output)