Skip to content

Commit d0a998c

Browse files
committed
Merge test fix from #983 (matching of input/output json)
1 parent 1e68d1c commit d0a998c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/com/fasterxml/jackson/failing/ParserPrecisionLoss730Test.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public class ParserPrecisionLoss730Test extends BaseTest
1818
* e.g. for pretty printing a file.
1919
*/
2020
public void testCopyCurrentEventBigDecimal() throws Exception {
21-
String input = "1e999";
21+
String input = "1E+999";
2222
StringWriter stringWriter = new StringWriter();
2323

2424
try (JsonParser parser = JSON_F.createParser(input)) {
@@ -43,6 +43,6 @@ public void testCopyCurrentStructureBigDecimal() throws Exception {
4343
generator.copyCurrentStructure(parser);
4444
}
4545
}
46-
assertEquals(input, stringWriter.toString());
46+
assertEquals("[1E+999]", stringWriter.toString());
4747
}
4848
}

0 commit comments

Comments
 (0)