diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-08-30 07:15:52 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-08-30 07:15:52 +0000 |
commit | 4404742d759b53a4794a5538be67e0ccc9a03ed6 (patch) | |
tree | be2feb41ca5de5f4ade1a196f6b75d7dfbc867f5 /test | |
parent | 3360a753f5735f7aa0e71e522b83d14957b6ed64 (diff) | |
download | ruby-4404742d759b53a4794a5538be67e0ccc9a03ed6.tar.gz |
test_win32ole_event.rb: skip message
* test/win32ole/test_win32ole_event.rb (exec_notification_query_async):
add skip message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/win32ole/test_win32ole_event.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/win32ole/test_win32ole_event.rb b/test/win32ole/test_win32ole_event.rb index a1ad9b1025..70d3bcd6e0 100644 --- a/test/win32ole/test_win32ole_event.rb +++ b/test/win32ole/test_win32ole_event.rb @@ -125,8 +125,9 @@ if defined?(WIN32OLE_EVENT) def exec_notification_query_async @wmi.ExecNotificationQueryAsync(@sws, @sql) rescue => e - # No administrator privilege? - skip if /OLE error code:80041008 in SWbemServicesEx/ =~ e.message + if /OLE error code:80041008 in SWbemServicesEx/ =~ e.message + skip "No administrator privilege?" + end raise end end |