From 73bebe64f58b7dfc39f63241aa02986d50c7e784 Mon Sep 17 00:00:00 2001 From: Anne Ferger Date: Wed, 10 Apr 2024 17:13:35 +0200 Subject: [PATCH] typo in regex --- .../java/de/edirom/meigarage/meico/MeicoConverterTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/de/edirom/meigarage/meico/MeicoConverterTest.java b/src/test/java/de/edirom/meigarage/meico/MeicoConverterTest.java index 52b2ef6..2b396b0 100644 --- a/src/test/java/de/edirom/meigarage/meico/MeicoConverterTest.java +++ b/src/test/java/de/edirom/meigarage/meico/MeicoConverterTest.java @@ -44,8 +44,8 @@ public void convert() throws IOException, ConverterException { // Files.readAllBytes(Paths.get("src/test/resources/expected-output.mp3")), // Files.readAllBytes(Paths.get("src/test/resources/test-output.mp3/test2-input_MEI export performance.mp3"))); assertEquals("The files differ!", - new String(Files.readAllBytes(Paths.get("src/test/resources/test-output.mpm/test2-input.mpm"))).replaceAll("uri=\"[\\s\\S]*?\"|[\\s\\S]*",""), - new String(Files.readAllBytes(Paths.get("src/test/resources/expected-output.mpm"))).replaceAll("uri=\"[\\s\\S]*?\"|[\\s\\S]*","")); + new String(Files.readAllBytes(Paths.get("src/test/resources/test-output.mpm/test2-input.mpm"))).replaceAll("uri=\"[\\s\\S]*?\"|[\\s]*",""), + new String(Files.readAllBytes(Paths.get("src/test/resources/expected-output.mpm"))).replaceAll("uri=\"[\\s\\S]*?\"|[\\s]*","")); is.close(); os.close(); isout.close();