Skip to content

Commit

Permalink
feat(#3332): fix windows specific line separator
Browse files Browse the repository at this point in the history
  • Loading branch information
volodya-lombrozo committed Dec 19, 2024
1 parent d15019e commit 9247faa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion eo-parser/src/test/java/org/eolang/parser/EoSyntaxTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,10 @@ void checksTypoPacks(final String yaml) {
if (story.map().containsKey(msg)) {
MatcherAssert.assertThat(
XhtmlMatchers.xhtml(story.after()).toString(),
story.after().xpath("/program/errors/error[1]/text()").get(0),
story.after()
.xpath("/program/errors/error[1]/text()")
.get(0)
.replaceAll("\r", ""),
Matchers.equalTo(story.map().get(msg).toString())
);
}
Expand Down

0 comments on commit 9247faa

Please sign in to comment.