summaryrefslogtreecommitdiff
path: root/test/win32ole
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-12 04:35:13 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-12 04:35:13 +0000
commitc2e85dfa8fe2531b40c097c649b3e72f676b657a (patch)
treea2b49552a476bdfa29a164d4b991289a8c07c3ee /test/win32ole
parent61f512a3575df2ca3c894c426d47cdc27ca8d4fd (diff)
* test/win32ole/test_err_in_callback.rb: do not require 'mkmf'
unless WIN32OLE is defined. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/win32ole')
-rw-r--r--test/win32ole/test_err_in_callback.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/win32ole/test_err_in_callback.rb b/test/win32ole/test_err_in_callback.rb
index 6a7de56..11ea627 100644
--- a/test/win32ole/test_err_in_callback.rb
+++ b/test/win32ole/test_err_in_callback.rb
@@ -8,9 +8,9 @@ begin
rescue LoadError
end
require 'rbconfig'
-require 'mkmf'
-require 'test/unit'
if defined?(WIN32OLE)
+ require 'mkmf'
+ require 'test/unit'
class TestErrInCallBack < Test::Unit::TestCase
def setup
@ruby = nil