Fix tests fails on Windows caused by newline format (#2172)
This commit is contained in:
@@ -293,7 +293,7 @@ public class ResourceControllerTests {
|
||||
}
|
||||
|
||||
private String replaceNewLines(String text) {
|
||||
return text.replace("\n", "").replace("\t", "");
|
||||
return text.replace("\r", "").replace("\n", "").replace("\t", "");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user