Skip to content

Commit 8e5841e

Browse files
committed
Fix TestVersion for Jackson 2.16 and 2.17
The test has started to fail since Jackson 2.16.0 because of the following changes: - FasterXML/jackson-core#1053 - FasterXML/jackson-core#1142 These were "fixing" the following issues: - FasterXML/jackson-core#1050 - FasterXML/jackson-core#1141
1 parent 35cb6a5 commit 8e5841e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/java/org/embulk/util/config/TestVersion.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ public void testParseVersion() throws Exception {
3131
Version.parseVersionForTesting("14.139-SNAPSHOT"));
3232
assertEquals(new com.fasterxml.jackson.core.Version(103, 0, 0, "SNAPSHOT-A", "org.embulk", "embulk-util-config"),
3333
Version.parseVersionForTesting("103-SNAPSHOT-A"));
34-
assertEquals(new com.fasterxml.jackson.core.Version(5, 3, 1, "", "org.embulk", "embulk-util-config"),
34+
assertEquals(new com.fasterxml.jackson.core.Version(5, 3, 1, null, "org.embulk", "embulk-util-config"),
3535
Version.parseVersionForTesting("5.3.1"));
36-
assertEquals(new com.fasterxml.jackson.core.Version(9, 8, 0, "", "org.embulk", "embulk-util-config"),
36+
assertEquals(new com.fasterxml.jackson.core.Version(9, 8, 0, null, "org.embulk", "embulk-util-config"),
3737
Version.parseVersionForTesting("9.8"));
38-
assertEquals(new com.fasterxml.jackson.core.Version(4, 0, 0, "", "org.embulk", "embulk-util-config"),
38+
assertEquals(new com.fasterxml.jackson.core.Version(4, 0, 0, null, "org.embulk", "embulk-util-config"),
3939
Version.parseVersionForTesting("4"));
4040

4141
assertThrows(IllegalArgumentException.class, () -> Version.parseVersionForTesting(""));

0 commit comments

Comments
 (0)