From f864f8b5f7ab62e81fbf9eb2ac2333c7e52bb4e4 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Fri, 19 Apr 2024 22:40:38 +0900 Subject: Respect $FZF_DEFAULT_OPTS_FILE in key bindings and completion (#3742) Fix #3740 --- test/test_go.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/test_go.rb b/test/test_go.rb index 772d3cb7..537a9bd4 100755 --- a/test/test_go.rb +++ b/test/test_go.rb @@ -3457,7 +3457,11 @@ module CompletionTest tmux.until { |lines| assert_operator lines.match_count, :>, 0 } tmux.send_keys :Tab, :Tab # Tab does not work here tmux.send_keys 55 - tmux.until { |lines| assert_equal 1, lines.match_count } + tmux.until do |lines| + assert_equal 1, lines.match_count + assert_includes lines, '> 55' + assert_includes lines, '> /tmp/fzf-test/d55' + end tmux.send_keys :Enter tmux.until(true) { |lines| assert_equal 'cd /tmp/fzf-test/d55/', lines[-1] } tmux.send_keys :xx -- cgit v1.2.3