Skip to content
Myr

Fix rubocop errors

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 27dab24 · Browse files · 1 file+3 added−3 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+3 added−3 removed

  • tests:+3 added−3 removed

1 file+3 added−3 removed

modified:test/test_layout.rb+3 added-3 removed
1495 unmodified lines
1496 def test_inline_header_border_overrides_header_first1497 tmux.send_keys %(seq 5 | #{FZF} --style full --header foo --header-first --header-border inline), :Enter1498 tmux.until do |lines|1499 foo_idx = lines.index { |l| l.match?(/\A│\s+foo\s+│\z/) }1500 input_idx = lines.index { |l| l.match?(/\A│\s+>\s+\d+\/\d+\s+│\z/) }1500 input_idx = lines.index { |l| l.match?(%r{\A│\s+>\s+\d+/\d+\s+│\z}) }1501 foo_idx && input_idx && foo_idx < input_idx1502 end1503 end1504
4 unmodified lines
1509 tmux.send_keys %(seq 5 | #{FZF} --style full --header foo --header-lines 1 --header-first --header-lines-border inline), :Enter1510 tmux.until do |lines|1511 one_idx = lines.index { |l| l.match?(/\A│\s+1\s+│\z/) }1512 foo_idx = lines.index { |l| l.match?(/\A│\s+foo\s+│\z/) }1513 input_idx = lines.index { |l| l.match?(/\A│\s+>\s+\d+\/\d+\s+│\z/) }1513 input_idx = lines.index { |l| l.match?(%r{\A│\s+>\s+\d+/\d+\s+│\z}) }1514 one_idx && foo_idx && input_idx && one_idx < input_idx && input_idx < foo_idx1515 end1516 end1517
3 unmodified lines
1521 def test_inline_header_lines_with_header_first_no_main_header1522 tmux.send_keys %(seq 5 | #{FZF} --style full --header-lines 1 --header-first --header-lines-border inline), :Enter1523 tmux.until do |lines|1524 one_idx = lines.index { |l| l.match?(/\A│\s+1\s+│\z/) }1525 input_idx = lines.index { |l| l.match?(/\A│\s+>\s+\d+\/\d+\s+│\z/) }1525 input_idx = lines.index { |l| l.match?(%r{\A│\s+>\s+\d+/\d+\s+│\z}) }1526 one_idx && input_idx && one_idx < input_idx1527 end1528 end1529
105 unmodified lines