summaryrefslogtreecommitdiffstats
path: root/test/test_go.rb
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2024-05-07 01:06:42 +0900
committerGitHub <noreply@github.com>2024-05-07 01:06:42 +0900
commite8405f40fe2eb3675f1cb4f69e825eff5f13f269 (patch)
treec917367f1f0098939f9cdf7376a2a135907024fc /test/test_go.rb
parent065b9e6fb2ce3e6e50ff423c3786989afa04ee14 (diff)
Refactor the code so that fzf can be used as a library (#3769)
Diffstat (limited to 'test/test_go.rb')
-rwxr-xr-xtest/test_go.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_go.rb b/test/test_go.rb
index d3e6b475..5563c080 100755
--- a/test/test_go.rb
+++ b/test/test_go.rb
@@ -557,7 +557,7 @@ class TestGoFZF < TestBase
def test_expect
test = lambda do |key, feed, expected = key|
- tmux.send_keys "seq 1 100 | #{fzf(:expect, key)}", :Enter
+ tmux.send_keys "seq 1 100 | #{fzf(:expect, key, :prompt, "[#{key}]")}", :Enter
tmux.until { |lines| assert_equal ' 100/100', lines[-2] }
tmux.send_keys '55'
tmux.until { |lines| assert_equal ' 1/100', lines[-2] }