Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Commit

Permalink
Don't shadow vars on 1.9!
Browse files Browse the repository at this point in the history
  • Loading branch information
raggi committed Jan 26, 2012
1 parent e89b2ab commit bb3a5c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_pool.rb
Expand Up @@ -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

Expand Down

0 comments on commit bb3a5c3

Please sign in to comment.