Fix test failing on Windows due to \r\n mess
MODIFY
asciidoctorj-core/src/test/java/org/asciidoctor/WhenAsciiDocIsRenderedToDocument.java
asciidoctorj-core/src/test/java/org/asciidoctor/WhenAsciiDocIsRenderedToDocument.java
@@ -235,7 +235,7 @@ public class WhenAsciiDocIsRenderedToDocument {
Document document = asciidoctor.load(DOCUMENT, options);
File inputFile = classpath.getResource("rendersample.asciidoc");
String content = document.readAsset(inputFile.getAbsolutePath(), new HashMap<Object, Object>());
- assertThat(content, is(IOUtils.readFull(new FileReader(inputFile))));
+ assertThat(content.replace("\r", ""), is(IOUtils.readFull(new FileReader(inputFile)).replace("\r", "")));
}
@Test

Fix test failing on Windows due to \r\n mess