aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/bind.expect6
-rw-r--r--tests/interactive.fish2
2 files changed, 3 insertions, 5 deletions
diff --git a/tests/bind.expect b/tests/bind.expect
index 9df5b37c..25270955 100644
--- a/tests/bind.expect
+++ b/tests/bind.expect
@@ -18,7 +18,7 @@ expect_prompt -re {\r\nsuccess\r\n} {
puts stderr "Couldn't find expected output 'success'"
}
# try again without the human typing
-send_line "echo fail\033ddiecho success"
+send_line -h "echo fail\033ddiecho success"
expect_prompt -re {\r\nsuccess\r\n} {
puts "success"
} -nounmatched -re {\r\nfail} {
@@ -28,7 +28,7 @@ expect_prompt -re {\r\nsuccess\r\n} {
}
# Test lowercase-r replace
-send_line "\033ddiecho TEXT\033hhrAi"
+send_line -h "\033ddiecho TEXT\033hhrAi"
expect_prompt -re {\r\nTAXT\r\n} {
puts "replace success"
} -nounmatched -re {\r\nfail} {
@@ -38,7 +38,7 @@ expect_prompt -re {\r\nTAXT\r\n} {
}
# still in insert mode, switch back to regular key bindings
-send_line "set -g fish_key_bindings fish_default_key_bindings"
+send_line -h "set -g fish_key_bindings fish_default_key_bindings"
expect_prompt
send_line "echo success"
expect_prompt -re {\r\nsuccess\r\n} {
diff --git a/tests/interactive.fish b/tests/interactive.fish
index e6280231..ad53e262 100644
--- a/tests/interactive.fish
+++ b/tests/interactive.fish
@@ -66,8 +66,6 @@ end
set -l failed
for i in *.expect
- # HACK: Explicitly disable the bind test until we can figure out what to do with it
- contains -- $i bind.expect; and continue
if not test_file $i
set failed $failed $i
end