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
|
@ -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>
|
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
|
* proc.c (proc_binding): don't propagative filename and line_no of
|
||||||
|
|
|
@ -365,8 +365,8 @@ class TestRubyOptions < Test::Unit::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_segv_test
|
def test_segv_test
|
||||||
if /mswin|mingw/ =~ RUBY_PLATFORM
|
|
||||||
opts = {}
|
opts = {}
|
||||||
|
if /mswin|mingw/ =~ RUBY_PLATFORM
|
||||||
additional = '[\s\w\.\']*'
|
additional = '[\s\w\.\']*'
|
||||||
else
|
else
|
||||||
opts[:rlimit_core] = 0
|
opts[:rlimit_core] = 0
|
||||||
|
|
Loading…
Add table
Reference in a new issue