test: spell the private-use character as \uE000 in the ordering test

The literal U+E000 was invisible and read like an empty title.
This commit is contained in:
doyaGu committed 2026-10-03 08:13:03 -04:00
1 parent 8e144b9154
commit 98e001d719
1 file changed
+1 -1
+1 -1
View File
@@ -40,7 +40,7 @@ public class CardOrderingTests
public void TitleSortsSupplementaryCharactersAfterBmpPrivateUse() public void TitleSortsSupplementaryCharactersAfterBmpPrivateUse()
{ {
// U+1F600 is a surrogate pair in UTF-16, so ordinal comparison would put it before U+E000. // U+1F600 is a surrogate pair in UTF-16, so ordinal comparison would put it before U+E000.
CardModel[] cards = [Card(1, "\U0001F600"), Card(2, "")]; CardModel[] cards = [Card(1, "\U0001F600"), Card(2, "\uE000")];
CollectionAssert.AreEqual(new[] { 2L, 1L }, Ids(cards, CardSortOption.Title)); CollectionAssert.AreEqual(new[] { 2L, 1L }, Ids(cards, CardSortOption.Title));
} }
} }