diff options
Diffstat (limited to 'test/ruby/test_yield.rb')
-rw-r--r-- | test/ruby/test_yield.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_yield.rb b/test/ruby/test_yield.rb index bc00407e4d..e5e288be1a 100644 --- a/test/ruby/test_yield.rb +++ b/test/ruby/test_yield.rb @@ -16,8 +16,8 @@ class TestRubyYield < Test::Unit::TestCase assert_equal :a, k assert_equal 1, v end - h.each do |kv| - assert_equal [:a, 1], kv + h.each do |k| + assert_equal :a, k # changed at 1.9 end end |