We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e68d1c commit d0a998cCopy full SHA for d0a998c
src/test/java/com/fasterxml/jackson/failing/ParserPrecisionLoss730Test.java
@@ -18,7 +18,7 @@ public class ParserPrecisionLoss730Test extends BaseTest
18
* e.g. for pretty printing a file.
19
*/
20
public void testCopyCurrentEventBigDecimal() throws Exception {
21
- String input = "1e999";
+ String input = "1E+999";
22
StringWriter stringWriter = new StringWriter();
23
24
try (JsonParser parser = JSON_F.createParser(input)) {
@@ -43,6 +43,6 @@ public void testCopyCurrentStructureBigDecimal() throws Exception {
43
generator.copyCurrentStructure(parser);
44
}
45
46
- assertEquals(input, stringWriter.toString());
+ assertEquals("[1E+999]", stringWriter.toString());
47
48
0 commit comments