Skip to content

Commit

Permalink
Revert "make tests more robust"
Browse files Browse the repository at this point in the history
This reverts commit c0936ca.
  • Loading branch information
gbrail authored Aug 30, 2024
1 parent 650ec29 commit 0380f29
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1204,7 +1204,7 @@ public void parseUnicodeFormatName() {
public void testParseUnicodeMultibyteCharacter() {
AstRoot root = parse("\uD842\uDFB7");
AstNode first = ((ExpressionStatement) root.getFirstChild()).getExpression();
assertEquals("\uD842\uDFB7", first.getString());
assertEquals("𠮷", first.getString());
}

@Test
Expand All @@ -1215,7 +1215,7 @@ public void testParseUnicodeIdentifierPartWhichIsNotJavaIdentifierPart() {
// the unicode methods and not the java methods.
AstRoot root = parse("a\u9FEB");
AstNode first = ((ExpressionStatement) root.getFirstChild()).getExpression();
assertEquals("a\u9FEB", first.getString());
assertEquals("a鿫", first.getString());
}

@Test
Expand Down

0 comments on commit 0380f29

Please sign in to comment.