diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-12 04:35:13 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-12 04:35:13 +0000 |
commit | c2e85dfa8fe2531b40c097c649b3e72f676b657a (patch) | |
tree | a2b49552a476bdfa29a164d4b991289a8c07c3ee /test/win32ole | |
parent | 61f512a3575df2ca3c894c426d47cdc27ca8d4fd (diff) | |
download | ruby-c2e85dfa8fe2531b40c097c649b3e72f676b657a.tar.gz |
* 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.rb | 4 |
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 6a7de56183..11ea6273fd 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 |