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 | |
parent | 414727ca70fad5c2e046271c53875e2cb8ebeec2 (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/trunk@27843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | test/ruby/test_rubyoptions.rb | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Sun May 16 21:14:04 2010 Yuki Sonoda (Yugui) <yugui@yugui.jp> + + * ruby/test_rubyoptions.rb (TestRubyOptions#test_segv_test): + fixes "NoMethodError: undefined method `[]=' for nil:NilClass" + Sun May 16 17:16:09 2010 Yusuke Endoh <mame@tsg.ne.jp> * proc.c (proc_binding): don't propagative filename and line_no of 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 |