Skip to content

Commit

Permalink
remove spaces from diff
Browse files Browse the repository at this point in the history
  • Loading branch information
anneferger committed Apr 10, 2024
1 parent bf852f5 commit e2c3cd5
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]*?\"",""),
new String(Files.readAllBytes(Paths.get("src/test/resources/expected-output.mpm"))).replaceAll("uri=\"[\\s\\S]*?\"",""));
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]*",""));
is.close();
os.close();
isout.close();
Expand Down

0 comments on commit e2c3cd5

Please sign in to comment.