From 0742ae9091e34de09fafd373c2e2019a7af59cee Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 16 Jan 2021 15:05:38 +0100 Subject: [PATCH] Verify that native handle is available when state becomes active Check that GetNativeHandle() behaves as documented. --- tests/net/webrequest.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/net/webrequest.cpp b/tests/net/webrequest.cpp index d29efaada6..e4ba7ba7cf 100644 --- a/tests/net/webrequest.cpp +++ b/tests/net/webrequest.cpp @@ -86,6 +86,7 @@ public: break; case wxWebRequest::State_Active: + CHECK( request.GetNativeHandle() ); break; } }