Skip to content

Commit

Permalink
Update UTF8ParsingTest.java
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning committed Feb 20, 2025
1 parent 11807e7 commit 16b22e9
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ class UTF8ParsingTest extends JUnit5TestBase
private TokenStreamFactory JSON_F = newStreamFactory();

final String testValue = createTestString();
final String INPUT_JSON = a2q("{ 'value': '" + testValue +"' }");
final String INPUT_JSON = a2q("{ 'value': '" + testValue + "' }");

// [jackson-core#1397]
// https://github.com/FasterXML/jackson-dataformats-text/issues/497
@Test
public void issue1397() throws Exception
public void utf8Char3Bytes() throws Exception
{
for (int mode : ALL_MODES) {
testIssue(JSON_F, mode, INPUT_JSON);
Expand Down

0 comments on commit 16b22e9

Please sign in to comment.