File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/test/java/io/avaje/logback/encoder Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ void throwable_usingDefault() {
7676 SimpleMapper simpleMapper = SimpleMapper .builder ().build ();
7777 Map <String , Object > asMap = simpleMapper .map ().fromJson (bytes );
7878
79- assertThat ((String )asMap .get ("exception" )).startsWith ("java.lang.NullPointerException: Cannot invoke \" String.toUpperCase() \" " );
79+ assertThat ((String )asMap .get ("exception" )).startsWith ("java.lang.NullPointerException: " );
8080 }
8181
8282 @ Test
@@ -96,7 +96,7 @@ void throwable_usingConverter() {
9696 SimpleMapper simpleMapper = SimpleMapper .builder ().build ();
9797 Map <String , Object > asMap = simpleMapper .map ().fromJson (bytes );
9898
99- assertThat ((String )asMap .get ("exception" )).startsWith ("j.l.NullPointerException: Cannot invoke \" String.toUpperCase() \" " );
99+ assertThat ((String )asMap .get ("exception" )).startsWith ("j.l.NullPointerException: " );
100100 }
101101
102102 Throwable createThrowable () {
You can’t perform that action at this time.
0 commit comments