diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-03-09 10:16:20 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-03-09 10:16:20 +0000 |
commit | ba164bcca3d038a0721cd9ab348d192e63da2b99 (patch) | |
tree | 6634e5ca09317408a9937e054e2c50d62b4ca523 /test | |
parent | 084920b6edf9d005fad4fce0beabd0a82ea25976 (diff) | |
download | ruby-ba164bcca3d038a0721cd9ab348d192e63da2b99.tar.gz ruby-ba164bcca3d038a0721cd9ab348d192e63da2b99.tar.xz ruby-ba164bcca3d038a0721cd9ab348d192e63da2b99.zip |
add a test for [ruby-dev:34008].
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_variable.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/ruby/test_variable.rb b/test/ruby/test_variable.rb index cd04de5c3..349cb05ae 100644 --- a/test/ruby/test_variable.rb +++ b/test/ruby/test_variable.rb @@ -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 |