summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-16 12:16:18 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-16 12:16:18 +0000
commit6bbe1db1d3a24b34bd536a5625114aef63a719bd (patch)
treebd314156893d531dc1d86303b5d0ae78b87bea94 /test
parentf9d0043099068f74830834e23070add812180a7a (diff)
* ruby/test_rubyoptions.rb (TestRubyOptions#test_segv_test):
fixes "NoMethodError: undefined method `[]=' for nil:NilClass" git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@27842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_rubyoptions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb
index f5bc830830..7b956810a1 100644
--- a/test/ruby/test_rubyoptions.rb
+++ b/test/ruby/test_rubyoptions.rb
@@ -365,8 +365,8 @@ class TestRubyOptions < Test::Unit::TestCase
end
def test_segv_test
+ opts = {}
if /mswin|mingw/ =~ RUBY_PLATFORM
- opts = {}
additional = '[\s\w\.\']*'
else
opts[:rlimit_core] = 0