summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/win32ole/test_win32ole_event.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/win32ole/test_win32ole_event.rb b/test/win32ole/test_win32ole_event.rb
index a1546da4a28..35671a3649d 100644
--- a/test/win32ole/test_win32ole_event.rb
+++ b/test/win32ole/test_win32ole_event.rb
@@ -138,7 +138,8 @@ if defined?(WIN32OLE_EVENT)
handler1
}
message_loop
- assert_equal("handler1", @event1)
+ # @event1 randomly becomes "" here: https://ci.appveyor.com/project/ruby/ruby/builds/20975541/job/b380m0q9ed0rdv7v
+ assert_match_with_retries(/\Ahandler1\z/, :@event1)
end
private