rclanget / 42sh

1 stars 0 forks source link

42sh/quoting/simple-quotes/mixed/escaping/002-escape-simple-quote-2 #64

Closed Wolfthuk closed 7 years ago

Wolfthuk commented 7 years ago

42sh/quoting/simple-quotes/mixed/escaping/002-escape-simple-quote-2 (FAILED)

Description: The purpose of this test is to check that a simple-quote ' may be preserved when it is preceded by a backslash \\.

STDIN: 01: ./write_on_stdout_and_stderr \'TOKEN201612111732_STDOUT TOKEN201612111732_STDERR\'

STDOUT: FAILURE expected_to match_regex ^'TOKEN201612111732_STDOUT$ 01: write on stdout

STDERR: FAILURE expected_to match_regex ^TOKEN201612111732_STDERR'$ 01: write on stderr