aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/lexer
diff options
context:
space:
mode:
Diffstat (limited to 'unit-tests/lexer')
-rw-r--r--unit-tests/lexer/comment.test24
-rw-r--r--unit-tests/lexer/quoting.test4
2 files changed, 14 insertions, 14 deletions
diff --git a/unit-tests/lexer/comment.test b/unit-tests/lexer/comment.test
index 07d7ac5..65e768c 100644
--- a/unit-tests/lexer/comment.test
+++ b/unit-tests/lexer/comment.test
@@ -59,34 +59,34 @@ EOO
#
$* <<EOI >>:EOO # multi-only
-#\\
+#\
comment
comment
-#\\
+#\
EOI
EOO
$* <<EOI >>:EOO # multi-empty
-#\\
-#\\
+#\
+#\
EOI
EOO
$* <<EOI >>EOO # multi-start-same
-foo #\\
+foo #\
comment
comment
-#\\
+#\
EOI
'foo'
<newline>
EOO
$* <<EOI >>EOO # multi-end-same
-#\\
+#\
comment
comment
-foo #\\
+foo #\
bar
EOI
'bar'
@@ -94,10 +94,10 @@ EOI
EOO
$* <<EOI >>EOO # multi-end-not
-#\\
+#\
comment
-#\\ not an end
-foo #\\
+#\ not an end
+foo #\
bar
EOI
'bar'
@@ -105,7 +105,7 @@ EOI
EOO
$* <<EOI 2>>EOE != 0 # multi-unterm
-#\\
+#\
comment
EOI
stdin:3:1: error: unterminated multi-line comment
diff --git a/unit-tests/lexer/quoting.test b/unit-tests/lexer/quoting.test
index 76fd904..aab02c3 100644
--- a/unit-tests/lexer/quoting.test
+++ b/unit-tests/lexer/quoting.test
@@ -48,7 +48,7 @@ EOO
:
$* <'"$foo"' >>EOO
'' [D/P]
-\$
+$
'foo' [D/P]
<newline>
EOO
@@ -58,7 +58,7 @@ EOO
:
$* <'"foo$"' >>EOO
'foo' [D/P]
-\$
+$
'' [D/P]
<newline>
EOO