Skip to content

Commit

Permalink
Wrap =~ operator in brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
JonRowe committed Jun 29, 2020
1 parent 417276f commit 65cdb17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/integration/bisect_spec.rb
Expand Up @@ -45,7 +45,7 @@ def bisect(cli_args, expected_status=nil)
it 'does not leave zombie processes', :unless => RSpec::Support::OS.windows? do
original_pids = pids()
bisect(%W[spec/rspec/core/resources/blocking_pipe_bisect_spec.rb_], 1)
sleep 0.1 while (extra_pids = pids() - original_pids).join =~ /[RE]/i
sleep 0.1 while ((extra_pids = pids() - original_pids).join =~ /[RE]/i)
expect(extra_pids.join).to_not include "Z"
end
end
Expand Down

0 comments on commit 65cdb17

Please sign in to comment.