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:
Junegunn Choi
2026-08-08 19:10:52 +09:00
parent ab1ee05e51
commit 715d26fa39
+1 -1
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