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 | eb5789e2ac699a04d34f27fafb342f2a78832e5a (patch) | |
tree | 6634e5ca09317408a9937e054e2c50d62b4ca523 /test | |
parent | 74a1543645dd9b5f3ca59456f90cb4c5f7840a41 (diff) | |
download | ruby-eb5789e2ac699a04d34f27fafb342f2a78832e5a.tar.gz |
add a test for [ruby-dev:34008].
git-svn-id: svn+ssh://ci.ruby-lang.org/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 cd04de5c3a..349cb05ae7 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 |