From 63dbc5c05dc6e6a4098622c0675de86ff40f4fc7 Mon Sep 17 00:00:00 2001 From: Edward Welbourne Date: Mon, 7 Aug 2023 18:22:16 +0200 Subject: [PATCH] Add a better pangram to a QString::length() test-case There was a gap in its numbering, and the quick brown fix could do with some competition. Change-Id: I1283bbb6ba321ae2b65b4459327f2428a45f85cc Reviewed-by: Marc Mutz --- tests/auto/corelib/text/qstring/tst_qstring.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/auto/corelib/text/qstring/tst_qstring.cpp b/tests/auto/corelib/text/qstring/tst_qstring.cpp index 53ae89d41e8..46734a63cc2 100644 --- a/tests/auto/corelib/text/qstring/tst_qstring.cpp +++ b/tests/auto/corelib/text/qstring/tst_qstring.cpp @@ -1061,8 +1061,8 @@ void tst_QString::length_data() QTest::newRow("null") << QString() << qsizetype(0); QTest::newRow("empty") << u""_s << qsizetype(0); QTest::newRow("data0") << u"Test"_s << qsizetype(4); - QTest::newRow("data1") << u"The quick brown fox jumps over the lazy dog"_s - << qsizetype(43); + QTest::newRow("data1") << u"The quick brown fox jumps over the lazy dog"_s << qsizetype(43); + QTest::newRow("data2") << u"Sphinx of black quartz, judge my vow!"_s << qsizetype(37); QTest::newRow("data3") << u"A"_s << qsizetype(1); QTest::newRow("data4") << u"AB"_s << qsizetype(2); QTest::newRow("data5") << u"AB\n"_s << qsizetype(3);