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 <marc.mutz@qt.io>
This commit is contained in:
Edward Welbourne 2023-08-07 18:22:16 +02:00
parent 0e5de43e10
commit 63dbc5c05d

View File

@ -1061,8 +1061,8 @@ void tst_QString::length_data()
QTest::newRow("null") << QString() << qsizetype(0); QTest::newRow("null") << QString() << qsizetype(0);
QTest::newRow("empty") << u""_s << qsizetype(0); QTest::newRow("empty") << u""_s << qsizetype(0);
QTest::newRow("data0") << u"Test"_s << qsizetype(4); QTest::newRow("data0") << u"Test"_s << qsizetype(4);
QTest::newRow("data1") << u"The quick brown fox jumps over the lazy dog"_s QTest::newRow("data1") << u"The quick brown fox jumps over the lazy dog"_s << qsizetype(43);
<< 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("data3") << u"A"_s << qsizetype(1);
QTest::newRow("data4") << u"AB"_s << qsizetype(2); QTest::newRow("data4") << u"AB"_s << qsizetype(2);
QTest::newRow("data5") << u"AB\n"_s << qsizetype(3); QTest::newRow("data5") << u"AB\n"_s << qsizetype(3);