summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2024-04-19 22:40:38 +0900
committerGitHub <noreply@github.com>2024-04-19 22:40:38 +0900
commitf864f8b5f7ab62e81fbf9eb2ac2333c7e52bb4e4 (patch)
tree81ef4e2c8043565d883eda9b619645890ade9ecd /test
parent31d72efba703b49b6c5f3ceee3eadac69bb1cd46 (diff)
downloadfzf-f864f8b5f7ab62e81fbf9eb2ac2333c7e52bb4e4.tar.gz
Respect $FZF_DEFAULT_OPTS_FILE in key bindings and completion (#3742)
Fix #3740
Diffstat (limited to 'test')
-rwxr-xr-xtest/test_go.rb6
1 files changed, 5 insertions, 1 deletions
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