Disable non-trivial CompareStrings() tests in ANSI build
UTF-8 strings can't be used in this case and we don't care enough about this deprecated build to bother with using Latin-1 just for it.
This commit is contained in:
@@ -315,6 +315,8 @@ TEST_CASE("wxUILocale::CompareStrings", "[uilocale]")
|
||||
#endif
|
||||
}
|
||||
|
||||
// UTF-8 strings are not supported in ASCII build.
|
||||
#if wxUSE_UNICODE
|
||||
SECTION("German")
|
||||
{
|
||||
const wxUILocale l(wxLocaleIdent("de").Region("DE"));
|
||||
@@ -351,6 +353,7 @@ TEST_CASE("wxUILocale::CompareStrings", "[uilocale]")
|
||||
CHECK( l.CompareStrings(u8("ä"), "ae") == 1 );
|
||||
CHECK( l.CompareStrings(u8("ö"), "z" ) == 1 );
|
||||
}
|
||||
#endif // wxUSE_UNICODE
|
||||
}
|
||||
|
||||
#endif // wxUSE_INTL
|
||||
|
Reference in New Issue
Block a user