mirror of
https://github.com/junegunn/fzf.git
synced 2026-08-12 19:07:00 +08:00
Parenthesize an assert_equal argument in the zsh chpwd test
Lint/AmbiguousBlockAssociation. rubocop -a rewrote this on every 'make lint' run, leaving the tree dirty.
This commit is contained in:
@@ -973,7 +973,7 @@ class TestZsh < TestBase
|
|||||||
tmux.until { |lines| assert_operator lines.match_count, :>, 0 }
|
tmux.until { |lines| assert_operator lines.match_count, :>, 0 }
|
||||||
tmux.send_keys :Enter
|
tmux.send_keys :Enter
|
||||||
tmux.until do |lines|
|
tmux.until do |lines|
|
||||||
assert_equal 1, lines.count { |l| l.include?('chpwd hook fired') }
|
assert_equal(1, lines.count { |l| l.include?('chpwd hook fired') })
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user