Skip to content
Browse files

Merge pull request #6026 from sikachu/master-fix_warning

Add parentheses to hide Ruby warning
  • Loading branch information...
2 parents 3e8d88f + 6d8ec0b commit 47a87fb0ec9d2e65914ff94abf2e5428d760fa39 @spastorino spastorino committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/test/queueing/threaded_consumer_test.rb
View
2 railties/test/queueing/threaded_consumer_test.rb
@@ -76,6 +76,6 @@ def teardown
sleep 0.1
assert_equal 1, logger.logged(:error).size
- assert_match /Job Error: RuntimeError: Error!/, logger.logged(:error).last
+ assert_match(/Job Error: RuntimeError: Error!/, logger.logged(:error).last)
end
end

0 comments on commit 47a87fb

Please sign in to comment.
Something went wrong with that request. Please try again.