From 5233014a7169f3c55c4b9dab1ddf5bf292b15408 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 4 Sep 2021 20:01:39 +0200 Subject: [PATCH] Add missing CHECK() to wxUILocale test case for MSW/Mac Don't forget to check that the locale is actually supported, as expected, under these platforms. --- tests/intl/intltest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/intl/intltest.cpp b/tests/intl/intltest.cpp index bf6730881c..bc0199efbb 100644 --- a/tests/intl/intltest.cpp +++ b/tests/intl/intltest.cpp @@ -245,8 +245,8 @@ TEST_CASE("wxLocale::Default", "[locale]") static inline bool CheckSupported(const wxUILocale& loc, const char* desc) { #if defined(__WINDOWS__) || defined(__WXOSX__) - wxUnusedVar(loc); - wxUnusedVar(desc); + INFO(desc << " locale"); + CHECK( loc.IsSupported() ); #else // Unix (not Darwin) if ( !loc.IsSupported() ) {