Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Don't shadow vars on 1.9!

  • Loading branch information...
commit bb3a5c32399ab8066eb5318de3de6dbe6b6b83b2 1 parent e89b2ab
@raggi raggi authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/test_pool.rb
View
4 tests/test_pool.rb
@@ -133,8 +133,8 @@ def test_contents_when_perform_errors_and_on_error_is_not_set
def test_contents_when_perform_errors_and_on_error_is_set
pool.add :res
res = nil
- pool.on_error do |res|
- res = res
+ pool.on_error do |r|
+ res = r
end
assert_equal [:res], pool.contents
Please sign in to comment.
Something went wrong with that request. Please try again.