From d7c22276516094d1d02310db73f23dc71af4738f Mon Sep 17 00:00:00 2001 From: El Mehdi Fekari Date: Mon, 11 Mar 2013 14:31:19 +0100 Subject: [PATCH] Add an auto test for Irish locale Change-Id: I2458cb580553ea02461869220fbd5dfb0f8fcb2c Reviewed-by: Lars Knoll --- tests/auto/corelib/tools/qlocale/tst_qlocale.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/auto/corelib/tools/qlocale/tst_qlocale.cpp b/tests/auto/corelib/tools/qlocale/tst_qlocale.cpp index 8fbe438760..ed74c939f7 100644 --- a/tests/auto/corelib/tools/qlocale/tst_qlocale.cpp +++ b/tests/auto/corelib/tools/qlocale/tst_qlocale.cpp @@ -1697,6 +1697,9 @@ void tst_QLocale::dateFormat() const QLocale ja("ja_JP"); QCOMPARE(ja.dateFormat(QLocale::ShortFormat), QLatin1String("yyyy/MM/dd")); + + const QLocale ir("ga_IE"); + QCOMPARE(ir.dateFormat(QLocale::ShortFormat), QLatin1String("dd/MM/yyyy")); } void tst_QLocale::timeFormat()