Parenthesize an assert_equal argument in the zsh chpwd test
Some checks failed
CodeQL / Analyze (push) Has been cancelled
build / build (push) Has been cancelled
Test fzf on macOS / build (push) Has been cancelled

Lint/AmbiguousBlockAssociation. rubocop -a rewrote this on every
'make lint' run, leaving the tree dirty.
This commit is contained in:
Junegunn Choi 2026-08-08 19:10:52 +09:00
parent ab1ee05e51
commit 715d26fa39

View file

@ -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