From d1bf556e24bc71a71f08da8c2ce78e2b38a06852 Mon Sep 17 00:00:00 2001 From: Edward Welbourne Date: Mon, 10 Oct 2022 15:40:19 +0200 Subject: [PATCH] tst_QChar::fromUcs4(): deduplicate a test-case There were two copies of the 0x1D157 row and we can't remember why. So change one of them to the Chakma digit 3 (a spiral) and annote all three test-cses with what meaning Unicode assigns to them. Change-Id: I95837588bd5944f7f2c39c8438d9076e844e4dd0 Reviewed-by: Marc Mutz --- tests/auto/corelib/text/qchar/tst_qchar.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/auto/corelib/text/qchar/tst_qchar.cpp b/tests/auto/corelib/text/qchar/tst_qchar.cpp index 61cd348e4d5..bb1b4b146cb 100644 --- a/tests/auto/corelib/text/qchar/tst_qchar.cpp +++ b/tests/auto/corelib/text/qchar/tst_qchar.cpp @@ -66,9 +66,9 @@ void tst_QChar::fromUcs4_data() QTest::addRow("0x%08X", ucs4) << ucs4; }; - row(0x2f868); - row(0x1D157); - row(0x1D157); + row(0x2f868); // a CJK Compatibility Ideograph + row(0x11139); // Chakma digit 3 + row(0x1D157); // Musical Symbol Void Notehead } void tst_QChar::fromUcs4()