rclanget / 42sh

1 stars 0 forks source link

42sh/subshell/mixed/quoting/003-with-simple-and-double-quotes #75

Closed Wolfthuk closed 7 years ago

Wolfthuk commented 7 years ago

42sh/subshell/mixed/quoting/003-with-simple-and-double-quotes (FAILED)

Description: The purpose of this test is to check that the command line parser correctly takes in account the inhibitor symbols ' and ".

STDIN: 01: (./write_on_stdout "TOKEN201612111732_FIRST)" ; (./write_on_stdout '(TOKEN201612111732_SECOND') )

STDOUT: SUCCESS expected_to match_regex TOKEN201612111732_FIRST FAILURE expected_to match_regex TOKEN201612111732_SECOND 01: TOKEN201612111732_FIRST

STDERR: SUCCESS expected_to be_empty (no output)

rclanget commented 7 years ago

bug fixé dans clean_parentheses, ne vérifiait pas la présence de quote, double quote et magic quote