aboutsummaryrefslogtreecommitdiff
path: root/suites/preprocess.py
diff options
context:
space:
mode:
Diffstat (limited to 'suites/preprocess.py')
-rw-r--r--suites/preprocess.py7
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\\\\"})