mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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/trunk@27843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
414727ca70
commit
11e078fb04
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue