summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/text
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2022-10-10 15:40:19 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2022-10-18 14:13:28 +0200
commitd1bf556e24bc71a71f08da8c2ce78e2b38a06852 (patch)
tree17fc3978495d93858ee1a50f7e6ddd89b1e1dc41 /tests/auto/corelib/text
parent95230ffd819838099dbdc73ec51626880306cc4c (diff)
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 <marc.mutz@qt.io>
Diffstat (limited to 'tests/auto/corelib/text')
-rw-r--r--tests/auto/corelib/text/qchar/tst_qchar.cpp6
1 files 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 61cd348e4d..bb1b4b146c 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()