mirror of
https://github.com/audacity/wxWidgets.git
synced 2025-12-10 03:58:56 -06:00
Fix FormatConverterTestCase for MinGW and Cygwin
Standard/Unix format strings are intentionally used when using these compilers/environments (see d62c535d4cadf9793f9639d1449c172e996430f3 for the former), so don't check for Windows/MSVC format strings in the test.
This commit is contained in:
parent
471a771382
commit
b630abffd2
@ -311,7 +311,9 @@ void FormatConverterTestCase::check(const wxString& input,
|
||||
#if wxUSE_UNICODE && !wxUSE_UTF8_LOCALE_ONLY
|
||||
result = (const wchar_t*)wxFormatString(input);
|
||||
|
||||
#ifdef __WINDOWS__
|
||||
#if defined(__WINDOWS__) && \
|
||||
!defined(__CYGWIN__) && \
|
||||
!defined(__MINGW32__)
|
||||
wxString expectedWchar(expectedWcharWindows);
|
||||
#else
|
||||
wxString expectedWchar(expectedWcharUnix);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user