ruby-changes:52603
From: nobu <ko1@a...>
Date: Sun, 23 Sep 2018 08:53:18 +0900 (JST)
Subject: [ruby-changes:52603] nobu:r64815 (trunk): Skip a cleanup if new_ole failed
nobu 2018-09-23 08:52:58 +0900 (Sun, 23 Sep 2018) New Revision: 64815 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64815 Log: Skip a cleanup if new_ole failed On Appveyor, WIN32OLE sometimes fails due to a system shutdown, and `@ie` is not assigned. Modified files: trunk/spec/ruby/library/win32ole/win32ole/ole_func_methods_spec.rb Index: spec/ruby/library/win32ole/win32ole/ole_func_methods_spec.rb =================================================================== --- spec/ruby/library/win32ole/win32ole/ole_func_methods_spec.rb (revision 64814) +++ spec/ruby/library/win32ole/win32ole/ole_func_methods_spec.rb (revision 64815) @@ -9,7 +9,7 @@ platform_is :windows do https://github.com/ruby/ruby/blob/trunk/spec/ruby/library/win32ole/win32ole/ole_func_methods_spec.rb#L9 end after :each do - @ie.Quit + @ie.Quit if @ie end it "raises ArgumentError if argument is given" do -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/