summaryrefslogtreecommitdiff
path: root/test/win32ole/test_win32ole_event.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/win32ole/test_win32ole_event.rb')
-rw-r--r--test/win32ole/test_win32ole_event.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/win32ole/test_win32ole_event.rb b/test/win32ole/test_win32ole_event.rb
index dafabffc5a0..62b5402a7c9 100644
--- a/test/win32ole/test_win32ole_event.rb
+++ b/test/win32ole/test_win32ole_event.rb
@@ -254,9 +254,9 @@ if defined?(WIN32OLE_EVENT)
sleep 0.1
begin
File.unlink(@f)
- rescue Error::EACCESS
+ rescue Errno::EACCES
WIN32OLE_EVENT.message_loop
- sleep 0.2
+ sleep 0.1
File.unlink(@f)
end