summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-14 03:23:57 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-14 03:23:57 +0000
commit2c079e1c9a7085ab60c07add46ff6d3c040b3604 (patch)
tree259f3459dbc78c27fed8001e64417089c475d2b0 /test
parent7809a9a1128cb46441f08b35318f7ae33f6ef44b (diff)
downloadruby-2c079e1c9a7085ab60c07add46ff6d3c040b3604.tar.gz
ruby-2c079e1c9a7085ab60c07add46ff6d3c040b3604.tar.xz
ruby-2c079e1c9a7085ab60c07add46ff6d3c040b3604.zip
* test/ruby/test_variable.rb (TestVariable#test_variable): add
a test of [ruby-dev:36698]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_variable.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_variable.rb b/test/ruby/test_variable.rb
index 5a0c7800b..c0c386040 100644
--- a/test/ruby/test_variable.rb
+++ b/test/ruby/test_variable.rb
@@ -40,6 +40,7 @@ class TestVariable < Test::Unit::TestCase
assert_raise(NameError) do
$$ = 5
end
+ assert_normal_exit("$*=0; $*", "[ruby-dev:36698]")
foobar = "foobar"
$_ = foobar