Bump version.io.micronaut from 4.7.4 to 4.7.5 #255

Merged
dependabot[bot] merged 2 commits from dependabot/maven/version.io.micronaut-4.7.5 into main 2025-02-12 13:53:29 +01:00
3 changed files with 5 additions and 3 deletions

View file

@ -70,7 +70,7 @@
<!-- ============================= Versions ============================== --> <!-- ============================= Versions ============================== -->
<!-- ===================================================================== --> <!-- ===================================================================== -->
<version.io.micronaut>4.7.4</version.io.micronaut> <version.io.micronaut>4.7.5</version.io.micronaut>
</properties> </properties>

View file

@ -7,12 +7,13 @@ for (String log : logs) {
if (!log.contains("test-output-marker")) { if (!log.contains("test-output-marker")) {
continue; continue;
} }
if (java.util.regex.Pattern.matches(expected, log)) { if (java.util.regex.Pattern.matches(expected, log.replaceAll("\u001B\\[[;\\d]*m", ""))) {
return true; return true;
} else { } else {
System.out.println("marker found, but formatting invalid:"); System.out.println("marker found, but formatting invalid:");
System.out.println("[EXPECTED] " + expected); System.out.println("[EXPECTED] " + expected);
System.out.println("[ACTUAL] " + log); System.out.println("[ACTUAL] " + log);
System.out.println("[BASE64] " + Base64.getEncoder().encodeToString(log.getBytes()));
return false; return false;
} }
} }

View file

@ -7,12 +7,13 @@ for (String log : logs) {
if (!log.contains("test-output-marker")) { if (!log.contains("test-output-marker")) {
continue; continue;
} }
if (java.util.regex.Pattern.matches(expected, log)) { if (java.util.regex.Pattern.matches(expected, log.replaceAll("\u001B\\[[;\\d]*m", ""))) {
return true; return true;
} else { } else {
System.out.println("marker found, but formatting invalid:"); System.out.println("marker found, but formatting invalid:");
System.out.println("[EXPECTED] " + expected); System.out.println("[EXPECTED] " + expected);
System.out.println("[ACTUAL] " + log); System.out.println("[ACTUAL] " + log);
System.out.println("[BASE64] " + Base64.getEncoder().encodeToString(log.getBytes()));
return false; return false;
} }
} }