Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ public void testNonPrintableCharacters() throws Exception {
"x\uDB80\uDC00y\uDBFF\uDFFDz\u1050", "x?y?z\u1050");

// Unassigned Unicode
expect("Should replace unassigned U+30000 and U+DFFFF",
"-\uD880\uDC00-\uDB3F\uDFFF-", "-?-?-");
expect("Should replace unassigned U+DFFFF",
"-\uDB3F\uDFFF-", "-?-");

// Standalone surrogate character (not in a pair)
expect("Should replace standalone surrogate U+DB80", "x\uDB80yz", "x?yz");
Expand Down