Skip to content

Commit 8c52e1f

Browse files
committed
...
1 parent 2df2589 commit 8c52e1f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/test/java/com/fasterxml/jackson/databind/ser/jdk/CustomExceptionSer5194Test.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ public void test5194() throws Exception {
4141
.visibility(PropertyAccessor.FIELD, JsonAutoDetect.Visibility.ANY)
4242
.build();
4343

44-
String json = mapper.writeValueAsString(new MyIllegalArgumentException());
44+
String json = mapper.writerWithDefaultPrettyPrinter()
45+
.writeValueAsString(new MyIllegalArgumentException());
46+
//System.err.println("JSON: " + json);
4547
assertNotNull(json);
4648
}
4749
}

0 commit comments

Comments
 (0)