Fix FormatConverterTestCase for MinGW and Cygwin
Standard/Unix format strings are intentionally used when using these
compilers/environments (see d62c535d4c
for
the former), so don't check for Windows/MSVC format strings in the test.
This commit is contained in:
@@ -311,7 +311,9 @@ void FormatConverterTestCase::check(const wxString& input,
|
|||||||
#if wxUSE_UNICODE && !wxUSE_UTF8_LOCALE_ONLY
|
#if wxUSE_UNICODE && !wxUSE_UTF8_LOCALE_ONLY
|
||||||
result = (const wchar_t*)wxFormatString(input);
|
result = (const wchar_t*)wxFormatString(input);
|
||||||
|
|
||||||
#ifdef __WINDOWS__
|
#if defined(__WINDOWS__) && \
|
||||||
|
!defined(__CYGWIN__) && \
|
||||||
|
!defined(__MINGW32__)
|
||||||
wxString expectedWchar(expectedWcharWindows);
|
wxString expectedWchar(expectedWcharWindows);
|
||||||
#else
|
#else
|
||||||
wxString expectedWchar(expectedWcharUnix);
|
wxString expectedWchar(expectedWcharUnix);
|
||||||
|
Reference in New Issue
Block a user