Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit 65cdb17

Browse files
committed
Wrap =~ operator in brackets
1 parent 417276f commit 65cdb17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/integration/bisect_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def bisect(cli_args, expected_status=nil)
4545
it 'does not leave zombie processes', :unless => RSpec::Support::OS.windows? do
4646
original_pids = pids()
4747
bisect(%W[spec/rspec/core/resources/blocking_pipe_bisect_spec.rb_], 1)
48-
sleep 0.1 while (extra_pids = pids() - original_pids).join =~ /[RE]/i
48+
sleep 0.1 while ((extra_pids = pids() - original_pids).join =~ /[RE]/i)
4949
expect(extra_pids.join).to_not include "Z"
5050
end
5151
end

0 commit comments

Comments
 (0)