Skip to content

Commit 7750145

Browse files
Make tests work on Windows
1 parent 2745ced commit 7750145

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

smithy-docgen-core/src/test/java/software/amazon/smithy/docgen/core/SmithyDocPluginTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ private String readExpectedPageContent(String filename) {
7171
throw new RuntimeException(e);
7272
}
7373

74-
return IoUtils.readUtf8File(Paths.get(uri));
74+
return IoUtils.readUtf8File(Paths.get(uri))
75+
.replace("\r\n", "\n");
7576
}
7677
}

0 commit comments

Comments
 (0)