File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
ion/src/test/java/tools/jackson/dataformat/ion/ionvalue Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 11package tools .jackson .dataformat .ion .ionvalue ;
22
3- import java .util .HashMap ;
3+ import java .util .LinkedHashMap ;
44import java .util .Map ;
55import java .util .Objects ;
66
2222
2323public class IonValueDeserializerTest {
2424 private static class Data <T > {
25- private final Map <String , T > map = new HashMap <>();
25+ private final Map <String , T > map = new LinkedHashMap <>();
2626
2727 protected Data () { }
2828
@@ -202,7 +202,6 @@ public void shouldBeAbleToSerializeAndDeserializeIonValueDataWithIncludeNonNull(
202202 incl -> incl .withValueInclusion (JsonInclude .Include .NON_NULL )
203203 .withContentInclusion (JsonInclude .Include .NON_NULL ))
204204 .build ();
205-
206205 String data = mapper .writeValueAsString (source );
207206 assertEquals ("{a:1,b:null}" , data );
208207 // Now remove the null element for the comparison below.
You can’t perform that action at this time.
0 commit comments