Skip to content

Commit

Permalink
cleaned assertEqualsStrings
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzoBettini committed Nov 29, 2023
1 parent 99fd3e1 commit 88df68c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ protected RuleFailedException assertRuleFailedException(Exception exception,

protected void assertEqualsStrings(Object expected, Object actual) {
Assert.assertEquals(
("" + expected).replaceAll("\r", ""),
("" + actual).replaceAll("\r", "")
);
("" + expected).replace("\r", ""),
("" + actual).replace("\r", "")
);
}
}

0 comments on commit 88df68c

Please sign in to comment.