aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/testsuite.at
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testsuite.at')
-rw-r--r--tests/testsuite.at7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/testsuite.at b/tests/testsuite.at
index cbb12d4..db2465f 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -474,6 +474,13 @@ TE_CHECK_CMDLINE([[{0EE 255@I//}]], 0, ignore, stderr)
AT_FAIL_IF([! $GREP "^Error:" stderr])
AT_CLEANUP
+AT_SETUP([Save last command-line])
+TE_CHECK_CMDLINE([[!hello!$$*m :Gm]], 0, stdout, ignore)
+AT_FAIL_IF([! $GREP "!hello!" stdout])
+TE_CHECK_CMDLINE([[!hello!$$ E*m :Gm]], 0, stdout, ignore)
+AT_FAIL_IF([! $GREP "!hello!" stdout])
+AT_CLEANUP
+
AT_BANNER([Standard library])
AT_SETUP([Option parser])