Give more information if wxLocale::Default unit test fails

Show the system language in this case.
This commit is contained in:
Vadim Zeitlin 2022-12-31 19:28:33 +01:00
parent 5ab36f825a
commit 7bbee79ca9

View file

@ -237,6 +237,7 @@ void IntlTestCase::IsAvailable()
TEST_CASE("wxLocale::Default", "[locale]")
{
INFO("System language: " << wxLocale::GetSystemLanguage());
CHECK( wxLocale::IsAvailable(wxLANGUAGE_DEFAULT) );
wxLocale loc;