From 16a15c84fb9014631d70465066d0b7d99f62194c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 12 Feb 2025 12:53:28 +0000 Subject: [PATCH] Bump version.io.micronaut from 4.7.4 to 4.7.5 (#255) * Bump version.io.micronaut from 4.7.4 to 4.7.5 Bumps `version.io.micronaut` from 4.7.4 to 4.7.5. Updates `io.micronaut.platform:micronaut-platform` from 4.7.4 to 4.7.5 - [Release notes](https://github.com/micronaut-projects/micronaut-platform/releases) - [Commits](https://github.com/micronaut-projects/micronaut-platform/compare/v4.7.4...v4.7.5) Updates `io.micronaut:micronaut-inject-java` from 4.7.4 to 4.7.5 - [Release notes](https://github.com/micronaut-projects/micronaut-core/releases) - [Changelog](https://github.com/micronaut-projects/micronaut-core/blob/4.8.x/RELEASE.adoc) - [Commits](https://github.com/micronaut-projects/micronaut-core/compare/v4.7.4...v4.7.5) --- updated-dependencies: - dependency-name: io.micronaut.platform:micronaut-platform dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: io.micronaut:micronaut-inject-java dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * Remove ansi codes. --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Stephan Schnabel --- pom.xml | 2 +- src/it/level-from-micronaut/postbuild.bsh | 3 ++- src/it/log-text/postbuild.bsh | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index b5cc400..a231f2f 100644 --- a/pom.xml +++ b/pom.xml @@ -70,7 +70,7 @@ - 4.7.4 + 4.7.5 diff --git a/src/it/level-from-micronaut/postbuild.bsh b/src/it/level-from-micronaut/postbuild.bsh index a280b60..026881f 100644 --- a/src/it/level-from-micronaut/postbuild.bsh +++ b/src/it/level-from-micronaut/postbuild.bsh @@ -7,12 +7,13 @@ for (String log : logs) { if (!log.contains("test-output-marker")) { continue; } - if (java.util.regex.Pattern.matches(expected, log)) { + if (java.util.regex.Pattern.matches(expected, log.replaceAll("\u001B\\[[;\\d]*m", ""))) { return true; } else { System.out.println("marker found, but formatting invalid:"); System.out.println("[EXPECTED] " + expected); System.out.println("[ACTUAL] " + log); + System.out.println("[BASE64] " + Base64.getEncoder().encodeToString(log.getBytes())); return false; } } diff --git a/src/it/log-text/postbuild.bsh b/src/it/log-text/postbuild.bsh index aa337ea..40e2f91 100644 --- a/src/it/log-text/postbuild.bsh +++ b/src/it/log-text/postbuild.bsh @@ -7,12 +7,13 @@ for (String log : logs) { if (!log.contains("test-output-marker")) { continue; } - if (java.util.regex.Pattern.matches(expected, log)) { + if (java.util.regex.Pattern.matches(expected, log.replaceAll("\u001B\\[[;\\d]*m", ""))) { return true; } else { System.out.println("marker found, but formatting invalid:"); System.out.println("[EXPECTED] " + expected); System.out.println("[ACTUAL] " + log); + System.out.println("[BASE64] " + Base64.getEncoder().encodeToString(log.getBytes())); return false; } }