Skip to content

Commit

Permalink
Print messages
Browse files Browse the repository at this point in the history
  • Loading branch information
abelsromero committed Jan 19, 2024
1 parent d11f47c commit 0f861b2
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,8 @@ private void assertMessage(String directory, String expectedMessagePattern) thro
String message =
output.substring(output.indexOf(marker) + marker.length() + 3).trim();

System.out.println(message);
System.out.println(expectedMessagePattern);
boolean matches = message.matches(expectedMessagePattern);
assertTrue(matches, "expected: '" + expectedMessagePattern + "' does not match actual: '" + message + "'");
console.release();
Expand Down

0 comments on commit 0f861b2

Please sign in to comment.