diff options
Diffstat (limited to 'tests/auto/corelib/tools/qlocale/tst_qlocale.cpp')
-rw-r--r-- | tests/auto/corelib/tools/qlocale/tst_qlocale.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/auto/corelib/tools/qlocale/tst_qlocale.cpp b/tests/auto/corelib/tools/qlocale/tst_qlocale.cpp index e3fe39a401..f8775bc75f 100644 --- a/tests/auto/corelib/tools/qlocale/tst_qlocale.cpp +++ b/tests/auto/corelib/tools/qlocale/tst_qlocale.cpp @@ -48,6 +48,7 @@ #include <QScopedArrayPointer> #include <qtextcodec.h> #include <qdatetime.h> +#include <qprocess.h> #include <float.h> #include <qlocale.h> @@ -1636,10 +1637,10 @@ void tst_QLocale::defaultNumeringSystem() QCOMPARE(pa.toString(123), QLatin1String("123")); QLocale ne("ne_IN"); - QCOMPARE(ne.toString(123), QLatin1String("123")); + QCOMPARE(ne.toString(123), QString::fromUtf8("१२३")); QLocale mr("mr_IN"); - QCOMPARE(mr.toString(123), QLatin1String("123")); + QCOMPARE(mr.toString(123), QString::fromUtf8("१२३")); QLocale ml("ml_IN"); QCOMPARE(ml.toString(123), QLatin1String("123")); |