From 8926815e4d8961e0d1064fa9788e9cf6ad6c0e8c Mon Sep 17 00:00:00 2001 From: Dai MIKURUBE Date: Wed, 3 Apr 2024 18:37:45 +0900 Subject: [PATCH] Fix TestVersion for Jackson 2.16 and 2.17 --- src/test/java/org/embulk/util/config/TestVersion.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/java/org/embulk/util/config/TestVersion.java b/src/test/java/org/embulk/util/config/TestVersion.java index d2836fd..da0984c 100644 --- a/src/test/java/org/embulk/util/config/TestVersion.java +++ b/src/test/java/org/embulk/util/config/TestVersion.java @@ -31,11 +31,11 @@ public void testParseVersion() throws Exception { Version.parseVersionForTesting("14.139-SNAPSHOT")); assertEquals(new com.fasterxml.jackson.core.Version(103, 0, 0, "SNAPSHOT-A", "org.embulk", "embulk-util-config"), Version.parseVersionForTesting("103-SNAPSHOT-A")); - assertEquals(new com.fasterxml.jackson.core.Version(5, 3, 1, "", "org.embulk", "embulk-util-config"), + assertEquals(new com.fasterxml.jackson.core.Version(5, 3, 1, null, "org.embulk", "embulk-util-config"), Version.parseVersionForTesting("5.3.1")); - assertEquals(new com.fasterxml.jackson.core.Version(9, 8, 0, "", "org.embulk", "embulk-util-config"), + assertEquals(new com.fasterxml.jackson.core.Version(9, 8, 0, null, "org.embulk", "embulk-util-config"), Version.parseVersionForTesting("9.8")); - assertEquals(new com.fasterxml.jackson.core.Version(4, 0, 0, "", "org.embulk", "embulk-util-config"), + assertEquals(new com.fasterxml.jackson.core.Version(4, 0, 0, null, "org.embulk", "embulk-util-config"), Version.parseVersionForTesting("4")); assertThrows(IllegalArgumentException.class, () -> Version.parseVersionForTesting(""));