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:
1 parent
8e144b9154
commit
98e001d719
1 file changed
+1
-1
@@ -40,7 +40,7 @@ public class CardOrderingTests
|
||||
public void TitleSortsSupplementaryCharactersAfterBmpPrivateUse()
|
||||
{
|
||||
// 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));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user