From 943f073d6e279550c340ee9fc097dbb0337e7329 Mon Sep 17 00:00:00 2001 From: Tatu Saloranta Date: Thu, 18 Jun 2020 19:23:09 -0700 Subject: ... --- .../jackson/databind/struct/UnwrapSingleArrayScalarsTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/test/java/com/fasterxml') diff --git a/src/test/java/com/fasterxml/jackson/databind/struct/UnwrapSingleArrayScalarsTest.java b/src/test/java/com/fasterxml/jackson/databind/struct/UnwrapSingleArrayScalarsTest.java index 434b59b79..cb06cd559 100644 --- a/src/test/java/com/fasterxml/jackson/databind/struct/UnwrapSingleArrayScalarsTest.java +++ b/src/test/java/com/fasterxml/jackson/databind/struct/UnwrapSingleArrayScalarsTest.java @@ -80,7 +80,7 @@ public class UnwrapSingleArrayScalarsTest extends BaseMapTest .readValue("{\"v\":[3]}"); fail("Did not throw exception when reading a value from a single value array with the UNWRAP_SINGLE_VALUE_ARRAYS feature disabled"); } catch (MismatchedInputException e) { - verifyException(e, "Cannot deserialize instance of `int`"); + verifyException(e, "Cannot deserialize value of type `int`"); } ObjectReader r = UNWRAPPING_READER.forType(IntBean.class); @@ -117,7 +117,7 @@ public class UnwrapSingleArrayScalarsTest extends BaseMapTest noUnwrapR.readValue("{\"v\":[3]}"); fail("Did not throw exception when reading a value from a single value array"); } catch (MismatchedInputException e) { - verifyException(e, "Cannot deserialize instance of `long`"); + verifyException(e, "Cannot deserialize value of type `long`"); } LongBean result = unwrapR.readValue("{\"v\":[3]}"); @@ -154,7 +154,7 @@ public class UnwrapSingleArrayScalarsTest extends BaseMapTest noUnwrapR.readValue("{\"v\":[" + value + "]}"); fail("Did not throw exception when reading a value from a single value array"); } catch (MismatchedInputException e) { - verifyException(e, "Cannot deserialize instance of `double`"); + verifyException(e, "Cannot deserialize value of type `double`"); } DoubleBean result = unwrapR.readValue("{\"v\":[" + value + "]}"); -- cgit v1.2.3