X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/69d31e313035d5e22d9400ec946f6007f710910c..f6b4a1b98d5a22a88a5a9a28076079116a2f892e:/tests/strings/strings.cpp diff --git a/tests/strings/strings.cpp b/tests/strings/strings.cpp index 92dff3e994..a925df605e 100644 --- a/tests/strings/strings.cpp +++ b/tests/strings/strings.cpp @@ -567,7 +567,7 @@ static const struct ToLongData { wxT("--1"), 0, Number_Invalid }, { wxT("-1"), -1, Number_Signed | Number_Long }, - // this is surprizing but consistent with strtoul() behaviour + // this is surprising but consistent with strtoul() behaviour { wxT("-1"), ULONG_MAX, Number_Unsigned | Number_Long }, // this must overflow, even with 64 bit long @@ -720,7 +720,7 @@ void StringTestCase::ToDouble() wxLocale *locale = new wxLocale; // don't load default catalog, it may be unavailable: - CPPUNIT_ASSERT( locale->Init(wxLANGUAGE_FRENCH, wxLOCALE_CONV_ENCODING) ); + CPPUNIT_ASSERT( locale->Init(wxLANGUAGE_FRENCH, wxLOCALE_DONT_LOAD_DEFAULT) ); static const struct ToDoubleData doubleData2[] = {