Skip to content

Commit

Permalink
runs on multiple JDKs
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholas Albion committed Oct 20, 2022
1 parent 4200895 commit a36e3fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/io/github/nalbion/TestAppenderTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ void shouldAssertLogsWithStackTrace() {
logger.info("Message after stacktrace");

testAppender.assertLogs(line ->
line.replaceAll("java.base/jdk.internal([A-Za-z \\d.(]+)(:\\d+)?\\)", "sun$1)"),
line.replaceAll("(?:java.base/jdk.internal|sun)([A-Za-z \\d.(]+)(:\\d+)?\\)", "sun$1)"),
"Hello World!\n"
+ "Caught exception\n"
+ "java.lang.RuntimeException: Forced error\n"
Expand Down

0 comments on commit a36e3fd

Please # to comment.