diff --git a/tests/controls/textctrltest.cpp b/tests/controls/textctrltest.cpp index 1fa1015897..f3a185ddbe 100644 --- a/tests/controls/textctrltest.cpp +++ b/tests/controls/textctrltest.cpp @@ -444,7 +444,7 @@ void TextCtrlTestCase::ProcessEnter() void TextCtrlTestCase::Url() { -#if wxUSE_UIACTIONSIMULATOR && wxHAS_2CHAR_NEWLINES +#if wxUSE_UIACTIONSIMULATOR && defined(__WXMSW__) && !defined(__WXUNIVERSAL__) // For some unfathomable reason, this test consistently fails when run in // AppVeyor CI environment, even though it passes locally, so skip it // there.