Skip to content

Commit

Permalink
typo in regex
Browse files Browse the repository at this point in the history
  • Loading branch information
anneferger committed Apr 10, 2024
1 parent e2c3cd5 commit 73bebe6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 73bebe6

Please sign in to comment.