|
|
@ -132,6 +132,7 @@ class LayersIndexTests {
|
|
|
|
InputStream in = LayersIndexTests.class.getResourceAsStream(name);
|
|
|
|
InputStream in = LayersIndexTests.class.getResourceAsStream(name);
|
|
|
|
Assert.state(in != null, "Can't read " + name);
|
|
|
|
Assert.state(in != null, "Can't read " + name);
|
|
|
|
String expectedContent = new String(FileCopyUtils.copyToByteArray(in), StandardCharsets.UTF_8);
|
|
|
|
String expectedContent = new String(FileCopyUtils.copyToByteArray(in), StandardCharsets.UTF_8);
|
|
|
|
|
|
|
|
expectedContent = expectedContent.replace("\r", "");
|
|
|
|
assertThat(actualContent).isEqualTo(expectedContent);
|
|
|
|
assertThat(actualContent).isEqualTo(expectedContent);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
catch (IOException ex) {
|
|
|
|
catch (IOException ex) {
|
|
|
|