diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2020-09-09 15:51:42 +0200 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2020-09-09 15:51:42 +0200 |
| commit | f571ffc6beb34cf0d4a171e5b5aa70a1d2b83658 (patch) | |
| tree | e629425f8bf37eb26894fa3d49f34a21b116f6c8 /suites/preprocess.py | |
| parent | fb3df181b71d3bed23f43ea4a6fcd8111d4c8690 (diff) | |
| download | minishell_test-f571ffc6beb34cf0d4a171e5b5aa70a1d2b83658.tar.gz minishell_test-f571ffc6beb34cf0d4a171e5b5aa70a1d2b83658.tar.bz2 minishell_test-f571ffc6beb34cf0d4a171e5b5aa70a1d2b83658.zip | |
Added path test
Diffstat (limited to 'suites/preprocess.py')
| -rw-r--r-- | suites/preprocess.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/suites/preprocess.py b/suites/preprocess.py index 90b37ca..a34e18d 100644 --- a/suites/preprocess.py +++ b/suites/preprocess.py @@ -6,7 +6,7 @@ # By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2020/07/15 18:25:00 by charles #+# #+# # -# Updated: 2020/08/28 17:28:35 by charles ### ########.fr # +# Updated: 2020/09/09 12:50:34 by charles ### ########.fr # # # # ############################################################################ # @@ -84,6 +84,11 @@ def suite_interpolation(test): test('echo $A"$B"$C"A"$B"$C"', exports={"A": "foo ", "B": " bar ", "C": "baz "}) test("echo $A'$B'$C'A'$B'$C'", exports={"A": "foo ", "B": " bar ", "C": "baz "}) + test("echo $A") + test("echo $A$B") + test("echo $A$B$C") + test("echo $A$B$C$D") + test("echo [$A]", exports={"A": r"bonjour\je"}) test("echo [$A]", exports={"A": r"\b\\o\\\nj\\\\\\\our\\je\\\\"}) test("echo [$A]", exports={"A": r" \b\\o\\\nj\\\\\\\our\\je\\\\"}) |
