diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-05-16 12:16:18 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-05-16 12:16:18 +0000 |
commit | 6bbe1db1d3a24b34bd536a5625114aef63a719bd (patch) | |
tree | bd314156893d531dc1d86303b5d0ae78b87bea94 /test | |
parent | f9d0043099068f74830834e23070add812180a7a (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.rb | 2 |
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 |