From b06f4a939878ad6e6dd8120bb4963e83801b5895 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 24 Dec 2013 16:44:44 +0000 Subject: [PATCH] test_variable.rb: fix test * test/ruby/test_variable.rb (test_binding_local_variables): adjust local variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_variable.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/ruby/test_variable.rb b/test/ruby/test_variable.rb index 321cd7e4c5..ab4d44938a 100644 --- a/test/ruby/test_variable.rb +++ b/test/ruby/test_variable.rb @@ -88,10 +88,9 @@ class TestVariable < Test::Unit::TestCase bind.local_variables end - def test_local_variables_from_other_method_binding + def test_binding_local_variables feature8773 = '[Feature #8773]' - x = 1 - assert_equal([:x], local_variables_of(binding), feature8773) + assert_equal([:feature8773], local_variables_of(binding), feature8773) end def test_global_variable_0