commit | c7ec8c54bf2b458a2002f24a3655c17a2bc316a2 | [log] [tgz] |
---|---|---|
author | Pascal Schumacher <pascalschumacher@apache.org> | Sat Sep 23 21:01:08 2017 +0000 |
committer | Pascal Schumacher <pascalschumacher@apache.org> | Sat Sep 23 21:01:08 2017 +0000 |
tree | 96d42a345e251e382624e6320234c7b6dbf3f5c5 | |
parent | cc49350465d3c3b036cc6521067b48e0284f6ccd [diff] |
ZipFileObjectTestCase: fix #testReadingFilesInZipFile, #testReadingOneAfterClosingAnotherFile and #testReadingOneAfterClosingAnotherStream on non-windows operating systems (closes #22) git-svn-id: https://svn.apache.org/repos/asf/commons/proper/vfs/trunk@1809451 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/zip/test/ZipFileObjectTestCase.java b/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/zip/test/ZipFileObjectTestCase.java index 38509f3..af16fee 100644 --- a/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/zip/test/ZipFileObjectTestCase.java +++ b/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/zip/test/ZipFileObjectTestCase.java
@@ -59,8 +59,8 @@ final String fileObjectString = fileObject.toString(); Assert.assertNotNull(fileObjectString, streamData); Assert.assertEquals( - fileObjectString, "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + System.lineSeparator() + "<Root" - + expectedId + ">foo" + expectedId + "</Root" + expectedId + ">" + System.lineSeparator(), + fileObjectString, "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<Root" + + expectedId + ">foo" + expectedId + "</Root" + expectedId + ">\r\n", streamData); }