1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
nobu 2013-12-24 16:44:44 +00:00
parent a11831a9a5
commit b06f4a9398

View file

@ -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