summaryrefslogtreecommitdiffstats
path: root/test/test_go.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_go.rb')
-rwxr-xr-xtest/test_go.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test_go.rb b/test/test_go.rb
index 1f4245ab..f7dcfe6e 100755
--- a/test/test_go.rb
+++ b/test/test_go.rb
@@ -2921,6 +2921,11 @@ class TestGoFZF < TestBase
OUTPUT
tmux.until { assert_block(expected, _1) }
end
+
+ def test_become_tty
+ tmux.send_keys "sleep 0.5 | #{FZF} --bind 'start:reload:ls' --bind 'load:become:tty'", :Enter
+ tmux.until { |lines| assert_includes lines, '/dev/tty' }
+ end
end
module TestShell