Skip to content
Myr

Follow Rubocop suggestion

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent fcd7e87 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • tests:+2 added−2 removed

1 file+2 added−2 removed

modified:test/test_go.rb+2 added-2 removed
2627 unmodified lines
2628 tmux.until { |lines| assert_includes lines, '>>2' }2629 end26302631 def test_listen2632 { '--listen 6266' => lambda { URI('http://localhost:6266') },2632 { '--listen 6266' => -> { URI('http://localhost:6266') },2633 "--listen --sync --bind 'start:execute-silent:echo $FZF_PORT > /tmp/fzf-port'" =>2634 lambda { URI("http://localhost:#{File.read('/tmp/fzf-port').chomp}") } }.each do |opts, fn|2634 -> { URI("http://localhost:#{File.read('/tmp/fzf-port').chomp}") } }.each do |opts, fn|2635 tmux.send_keys "seq 10 | fzf #{opts}", :Enter2636 tmux.until { |lines| assert_equal 10, lines.item_count }2637 Net::HTTP.post(fn.call, 'change-query(yo)+reload(seq 100)+change-prompt:hundred> ')2638 tmux.until { |lines| assert_equal 100, lines.item_count }
528 unmodified lines