1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

should not test when win32ole is not available.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
suke 2006-06-19 11:00:12 +00:00
parent 9612bd51f4
commit cd15cdca77

View file

@ -1,6 +1,10 @@
require 'test/unit'
begin
require 'win32ole'
rescue LoadError
end
if defined?(WIN32OLE)
class TestWIN32OLE_PROPERTYPUTREF < Test::Unit::TestCase
def setup
begin
@ -17,3 +21,4 @@ class TestWIN32OLE_PROPERTYPUTREF < Test::Unit::TestCase
end
end
end
end