Skip to content

Commit

Permalink
Format.
Browse files Browse the repository at this point in the history
  • Loading branch information
hs-lsong committed Oct 24, 2023
1 parent 0a8202a commit e82661d
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,9 @@ public void itWritesObjectWithoutOrderedKeyAsString() {
JinjavaConfig.newBuilder().withObjectMapper(new ObjectMapper()).build()
);
JinjavaInterpreter interpreter = jinjava.newInterpreter();
String expectedOutput = """
{"testArray":[4,1,2],"another":"ab","testString":"testString","nested":{"innerKey2":"v2","innerKey1":"v1"}}""";
assertThat(filter.filter(testMap, interpreter))
.isEqualTo(
"""
{"testArray":[4,1,2],"another":"ab","testString":"testString","nested":{"innerKey2":"v2","innerKey1":"v1"}}"""
);
.isEqualTo(expectedOutput);
}
}

0 comments on commit e82661d

Please sign in to comment.