summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2021-11-05 19:28:40 +0100
committerEdward Welbourne <edward.welbourne@qt.io>2021-11-18 18:13:20 +0100
commitf75d36fd18f58b91689aca2a389c62627c38e6b4 (patch)
tree28b121092806d49e5357dcd2707ec7b304479001 /tests/auto/corelib
parent8926eb86c62595a0fdac3126c389916db1b451bc (diff)
Fix macOS system locale's formatting of negative years
It leaves off the minus sign. Change-Id: Iad72349368d8849330524144033453cbd79e9e7c Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'tests/auto/corelib')
-rw-r--r--tests/auto/corelib/text/qlocale/tst_qlocale.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/auto/corelib/text/qlocale/tst_qlocale.cpp b/tests/auto/corelib/text/qlocale/tst_qlocale.cpp
index cd3682a207..2a752e486f 100644
--- a/tests/auto/corelib/text/qlocale/tst_qlocale.cpp
+++ b/tests/auto/corelib/text/qlocale/tst_qlocale.cpp
@@ -2650,9 +2650,6 @@ void tst_QLocale::dateFormat()
// And, indeed, one for a negative year:
old = sys.toString(QDate(-1173, 5, 1), QLocale::LongFormat);
QVERIFY(!old.isEmpty());
-#ifdef Q_OS_DARWIN // bug in qlocale_mac.mm, fix coming shortly
- QEXPECT_FAIL("", "Darwin converts year to positive", Continue);
-#endif
QVERIFY2(old.contains(u"-1173"), qPrintable(old + QLatin1String(" for locale ") + sys.name()));
}