diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-05-16 12:20:02 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-05-16 12:20:02 +0000 |
commit | 11e078fb04fd6f3f1627ac46db2caaff69c303a8 (patch) | |
tree | 2c2c3ab25a0085d705e40d055c5bf2a4650111e3 /test | |
parent | 414727ca70fad5c2e046271c53875e2cb8ebeec2 (diff) | |
download | ruby-11e078fb04fd6f3f1627ac46db2caaff69c303a8.tar.gz |
* 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
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 |