We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87aaa56 commit 1da42d4Copy full SHA for 1da42d4
src/test/java/io/vertx/core/json/JacksonDatabindTest.java
@@ -120,7 +120,9 @@ public void testObjectMapperConfigAppliesToPrettyPrinting() {
120
try {
121
om.setConfig(sc.with(SerializationFeature.WRITE_ENUMS_USING_INDEX));
122
ThreadingModel vt = ThreadingModel.VIRTUAL_THREAD;
123
- assertEquals(Json.encode(vt), Json.encodePrettily(vt));
+ String expected = String.valueOf(vt.ordinal());
124
+ assertEquals(expected, Json.encodePrettily(vt));
125
+ assertEquals(expected, Json.encode(vt));
126
} finally {
127
om.setConfig(sc);
128
}
0 commit comments