mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
add a test for [ruby-dev:34008].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
74a1543645
commit
eb5789e2ac
1 changed files with 5 additions and 0 deletions
|
@ -54,4 +54,9 @@ class TestVariable < Test::Unit::TestCase
|
|||
assert_equal("Zeus", atlas.ruler3)
|
||||
assert_equal("Cronus", atlas.ruler4)
|
||||
end
|
||||
|
||||
def test_local_variables
|
||||
lvar = 1
|
||||
assert_instance_of(Symbol, local_variables[0], "[ruby-dev:34008]")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue