diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_variable.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_variable.rb b/test/ruby/test_variable.rb index e6730f858f..1c9b60183d 100644 --- a/test/ruby/test_variable.rb +++ b/test/ruby/test_variable.rb @@ -86,13 +86,13 @@ class TestVariable < Test::Unit::TestCase def test_shadowing_local_variables bug9486 = '[ruby-core:60501] [Bug #9486]' x = tap {|x| break local_variables} - assert_equal([:x, :bug9486, :x], x) + assert_equal([:x, :bug9486], x) end def test_shadowing_block_local_variables bug9486 = '[ruby-core:60501] [Bug #9486]' x = tap {|;x| break local_variables} - assert_equal([:x, :bug9486, :x], x) + assert_equal([:x, :bug9486], x) end def local_variables_of(bind) |