From 715d26fa3949c9a0f1e41fcbda5440f3ac338e51 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sat, 8 Aug 2026 19:10:52 +0900 Subject: [PATCH] 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. --- test/test_shell_integration.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_shell_integration.rb b/test/test_shell_integration.rb index c281cc89..6c9cfcc2 100644 --- a/test/test_shell_integration.rb +++ b/test/test_shell_integration.rb @@ -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