diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/win32ole/test_win32ole.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/win32ole/test_win32ole.rb b/test/win32ole/test_win32ole.rb index c095e6d7ce..5dc4c6cfaa 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 |