From 1b8face1a37ceb0da3e57645200d5dc97360a4ee Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Tue, 2 Feb 2016 18:13:08 -0800 Subject: Fix t-binding test for new escape behavior --- tests/bind.expect | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/bind.expect b/tests/bind.expect index 42cd3409..8af3ddab 100644 --- a/tests/bind.expect +++ b/tests/bind.expect @@ -39,7 +39,11 @@ expect_prompt -re {\r\nTAXT\r\n} { # Test 't' binding that contains non-zero arity function (forward-jump) followed # by another function (and) https://github.com/fish-shell/fish-shell/issues/2357 -send_line "\033ddiecho TEXT\033hhtTrN" +send "\033" +sleep 0.500 +send "ddiecho TEXT\033" +sleep 0.500 +send "hhtTrN\r" expect_prompt -re {\r\nTENT\r\n} { puts "t-binding success" } -nounmatched -re {\r\nfail} { -- cgit v1.2.3