@@ -83,15 +83,15 @@ public void testMapperFailOnTrailing()
83
83
strict .readTree (JSON_FAIL_ARRAY );
84
84
fail ("Should not have passed" );
85
85
} catch (MismatchedInputException e ) {
86
- verifyException (e , "Trailing token (of type START_ARRAY)" );
86
+ verifyException (e , "Trailing token (`JsonToken. START_ARRAY` )" );
87
87
verifyException (e , "value (bound as `tools.jackson.databind.JsonNode`)" );
88
88
}
89
89
90
90
try {
91
91
strict .readValue (JSON_FAIL_ARRAY , List .class );
92
92
fail ("Should not have passed" );
93
93
} catch (MismatchedInputException e ) {
94
- verifyException (e , "Trailing token (of type START_ARRAY)" );
94
+ verifyException (e , "Trailing token (`JsonToken. START_ARRAY` )" );
95
95
verifyException (e , "value (bound as `java.util.List`)" );
96
96
}
97
97
@@ -135,15 +135,15 @@ public void testMapperFailOnTrailingWithNull()
135
135
strict .readTree (JSON_FAIL_NULL );
136
136
fail ("Should not have passed" );
137
137
} catch (MismatchedInputException e ) {
138
- verifyException (e , "Trailing token (of type VALUE_FALSE)" );
138
+ verifyException (e , "Trailing token (`JsonToken. VALUE_FALSE` )" );
139
139
verifyException (e , "value (bound as `tools.jackson.databind.JsonNode`)" );
140
140
}
141
141
142
142
try {
143
143
strict .readValue (JSON_FAIL_NULL , List .class );
144
144
fail ("Should not have passed" );
145
145
} catch (MismatchedInputException e ) {
146
- verifyException (e , "Trailing token (of type VALUE_FALSE)" );
146
+ verifyException (e , "Trailing token (`JsonToken. VALUE_FALSE` )" );
147
147
verifyException (e , "value (bound as `java.util.List`)" );
148
148
}
149
149
@@ -203,14 +203,14 @@ public void testReaderFailOnTrailing()
203
203
strictRForList .readValue (JSON_FAIL_ARRAY );
204
204
fail ("Should not have passed" );
205
205
} catch (MismatchedInputException e ) {
206
- verifyException (e , "Trailing token (of type START_ARRAY)" );
206
+ verifyException (e , "Trailing token (`JsonToken. START_ARRAY` )" );
207
207
verifyException (e , "value (bound as `java.util.List`)" );
208
208
}
209
209
try {
210
210
strictR .readTree (JSON_FAIL_ARRAY );
211
211
fail ("Should not have passed" );
212
212
} catch (MismatchedInputException e ) {
213
- verifyException (e , "Trailing token (of type START_ARRAY)" );
213
+ verifyException (e , "Trailing token (`JsonToken. START_ARRAY` )" );
214
214
verifyException (e , "value (bound as `tools.jackson.databind.JsonNode`)" );
215
215
}
216
216
@@ -220,7 +220,7 @@ public void testReaderFailOnTrailing()
220
220
.readValue (JSON_FAIL_ARRAY );
221
221
fail ("Should not have passed" );
222
222
} catch (MismatchedInputException e ) {
223
- verifyException (e , "Trailing token (of type START_ARRAY)" );
223
+ verifyException (e , "Trailing token (`JsonToken. START_ARRAY` )" );
224
224
verifyException (e , "value (bound as `java.util.ArrayList`)" );
225
225
}
226
226
@@ -262,15 +262,15 @@ public void testReaderFailOnTrailingWithNull()
262
262
strictRForList .readValue (JSON_FAIL_NULL );
263
263
fail ("Should not have passed" );
264
264
} catch (MismatchedInputException e ) {
265
- verifyException (e , "Trailing token (of type VALUE_FALSE)" );
265
+ verifyException (e , "Trailing token (`JsonToken. VALUE_FALSE` )" );
266
266
verifyException (e , "value (bound as `java.util.List`)" );
267
267
}
268
268
269
269
try {
270
270
strictR .readTree (JSON_FAIL_NULL );
271
271
fail ("Should not have passed" );
272
272
} catch (MismatchedInputException e ) {
273
- verifyException (e , "Trailing token (of type VALUE_FALSE)" );
273
+ verifyException (e , "Trailing token (`JsonToken. VALUE_FALSE` )" );
274
274
verifyException (e , "value (bound as `tools.jackson.databind.JsonNode`)" );
275
275
}
276
276
0 commit comments