diff options
author | Tatu Saloranta <tatu.saloranta@iki.fi> | 2020-06-18 19:23:09 -0700 |
---|---|---|
committer | Tatu Saloranta <tatu.saloranta@iki.fi> | 2020-06-18 19:23:09 -0700 |
commit | 943f073d6e279550c340ee9fc097dbb0337e7329 (patch) | |
tree | 7b70260be9fbc9919222e4f65232570186d19812 /src/test/java/com/fasterxml/jackson/databind | |
parent | cf53f39e2f2038b38c751b962e69262632ccfb5a (diff) | |
download | jackson-databind-943f073d6e279550c340ee9fc097dbb0337e7329.tar.gz |
...
Diffstat (limited to 'src/test/java/com/fasterxml/jackson/databind')
-rw-r--r-- | src/test/java/com/fasterxml/jackson/databind/struct/UnwrapSingleArrayScalarsTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
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 + "]}"); |