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);

     }