From eb5789e2ac699a04d34f27fafb342f2a78832e5a Mon Sep 17 00:00:00 2001 From: akr Date: Sun, 9 Mar 2008 10:16:20 +0000 Subject: [PATCH] add a test for [ruby-dev:34008]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_variable.rb | 5 +++++ 1 file changed, 5 insertions(+) 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