mirror of
https://github.com/junegunn/fzf
synced 2026-08-08 19:41:43 +00: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.send_keys :Enter
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user