diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-09-22 23:52:58 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-09-22 23:52:58 +0000 |
commit | ae0e98ce1d1c6835014800e0cb57ef17c1256cbb (patch) | |
tree | a5a7e24be30b039a7d10dfdcfefb620d175fcbaf /spec | |
parent | 04a353fe023a7086f0bb8b68d38d2f267dbc21da (diff) | |
download | ruby-ae0e98ce1d1c6835014800e0cb57ef17c1256cbb.tar.gz |
Skip a cleanup if new_ole failed
On Appveyor, WIN32OLE sometimes fails due to a system shutdown, and
`@ie` is not assigned.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec')
-rw-r--r-- | spec/ruby/library/win32ole/win32ole/ole_func_methods_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/win32ole/win32ole/ole_func_methods_spec.rb b/spec/ruby/library/win32ole/win32ole/ole_func_methods_spec.rb index f625a4d925..8a510519f2 100644 --- a/spec/ruby/library/win32ole/win32ole/ole_func_methods_spec.rb +++ b/spec/ruby/library/win32ole/win32ole/ole_func_methods_spec.rb @@ -9,7 +9,7 @@ platform_is :windows do end after :each do - @ie.Quit + @ie.Quit if @ie end it "raises ArgumentError if argument is given" do |