Skip to content

Commit

Permalink
replace("\r", "") in Xtend quickfix test
Browse files Browse the repository at this point in the history
to make it work on Windows as well
  • Loading branch information
LorenzoBettini committed Mar 6, 2024
1 parent 547403a commit c61220f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ class QuickDebugSourceInstallingCompilationParticipantTest extends AbstractXtend
7:12
4:13,2
*E
'''.toString, debug)
'''.toString.replace("\r", ""),
debug.replace("\r", ""))
debugInfoFound.set(true)
}
super.visitSource(source, debug)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ public void visitSource(final String source, final String debug) {
_builder.newLine();
_builder.append("*E");
_builder.newLine();
Assert.assertEquals(_builder.toString(), debug);
Assert.assertEquals(_builder.toString().replace("\r", ""),
debug.replace("\r", ""));
debugInfoFound.set(true);
}
super.visitSource(source, debug);
Expand Down

0 comments on commit c61220f

Please sign in to comment.