Skip to content

Commit df43967

Browse files
committed
Fix tests
1 parent b68aaad commit df43967

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

csv/src/test/java/tools/jackson/dataformat/csv/deser/CSVBigStringsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public class CSVBigStringsTest extends ModuleTestBase
2121

2222
private final CsvMapper MAPPER = mapperForCsv();
2323

24-
private final static int TOO_LONG_STRING_VALUE_LEN = 20_000_100;
24+
private final static int TOO_LONG_STRING_VALUE_LEN = StreamReadConstraints.DEFAULT_MAX_STRING_LEN + 100;
2525

2626
private CsvMapper newCsvMapperWithUnlimitedStringSizeSupport() {
2727
CsvFactory csvFactory = CsvFactory.builder()

toml/src/test/java/tools/jackson/dataformat/toml/TomlBigStringsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
public class TomlBigStringsTest extends TomlMapperTestBase
1111
{
12-
private final static int TOO_LONG_STRING_VALUE_LEN = 20_000_100;
12+
private final static int TOO_LONG_STRING_VALUE_LEN = StreamReadConstraints.DEFAULT_MAX_STRING_LEN + 100;
1313

1414
final static class StringWrapper
1515
{

0 commit comments

Comments
 (0)