We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d21088 commit ec0c7bcCopy full SHA for ec0c7bc
dubbo-common/src/test/java/com/alibaba/dubbo/common/utils/IOUtilsTest.java
@@ -107,7 +107,7 @@ public void testReadLines() throws Exception {
107
public void testWriteLines() throws Exception {
108
IOUtils.writeLines(os, new String[]{TEXT});
109
ByteArrayOutputStream bos = (ByteArrayOutputStream) os;
110
- assertThat(new String(bos.toByteArray()), equalTo(TEXT + "\n"));
+ assertThat(new String(bos.toByteArray()), equalTo(TEXT + System.lineSeparator()));
111
}
112
113
@Test
0 commit comments