summaryrefslogtreecommitdiff
path: root/test/win32ole/test_win32ole.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/win32ole/test_win32ole.rb')
-rw-r--r--test/win32ole/test_win32ole.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/win32ole/test_win32ole.rb b/test/win32ole/test_win32ole.rb
index c095e6d..5dc4c6c 100644
--- a/test/win32ole/test_win32ole.rb
+++ b/test/win32ole/test_win32ole.rb
@@ -58,9 +58,10 @@ if defined?(WIN32OLE)
def test_no_method_error
exc = assert_raise(NoMethodError) {
- @dict1.non_exist_method
+ @dict1.non_exist_method
}
assert_match(/non_exist_method/, exc.message)
+ assert_kind_of(WIN32OLE, exc.receiver)
end
def test_ole_methods