File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
src/test/java/com/fasterxml/jackson/databind/deser/jdk Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -213,19 +213,19 @@ public void testEmptyStringAsDefault() throws Exception
213
213
ObjectReader r = MAPPER .readerFor (SimpleEnumWithDefault .class )
214
214
.with (DeserializationFeature .READ_UNKNOWN_ENUM_VALUES_USING_DEFAULT_VALUE );
215
215
assertEquals (SimpleEnumWithDefault .ONE ,
216
- r .readValue (quote ("ONE" )));
216
+ r .readValue (q ("ONE" )));
217
217
assertEquals (SimpleEnumWithDefault .ZERO ,
218
- r .readValue (quote ("Zero" )));
218
+ r .readValue (q ("Zero" )));
219
219
assertEquals (SimpleEnumWithDefault .ZERO ,
220
- r .readValue (quote ("" )));
220
+ r .readValue (q ("" )));
221
221
assertEquals (SimpleEnumWithDefault .ZERO ,
222
- r .readValue (quote (" " )));
222
+ r .readValue (q (" " )));
223
223
224
224
// Also check with `null` coercion as well
225
225
ObjectReader r2 = MAPPER .readerFor (SimpleEnumWithDefault .class )
226
226
.with (DeserializationFeature .READ_UNKNOWN_ENUM_VALUES_AS_NULL );
227
- assertNull (r2 .readValue (quote ("" )));
228
- assertNull (r2 .readValue (quote (" " )));
227
+ assertNull (r2 .readValue (q ("" )));
228
+ assertNull (r2 .readValue (q (" " )));
229
229
}
230
230
231
231
private <T > void _verifyOkDeserialization (ObjectReader reader , String fromValue ,
You can’t perform that action at this time.
0 commit comments