aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/generic.expect
diff options
context:
space:
mode:
Diffstat (limited to 'tests/generic.expect')
-rw-r--r--tests/generic.expect6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/generic.expect b/tests/generic.expect
index 7a5b6407..33d260a7 100644
--- a/tests/generic.expect
+++ b/tests/generic.expect
@@ -33,3 +33,9 @@ send_line $hist_command
expect_prompt -re {echo .history.*} {} unmatched {
puts stderr "Couldn't find expected output $hist_command"
}
+
+# Backslashes at end of comments (#1255)
+# This backslash should NOT cause the line to continue
+send_line "echo -n #comment\\"
+expect_prompt
+