sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1713344 - /sis/branches/JDK8/core/sis-metadata/src/test/java/org/apache/sis/test/MetadataAssert.java
Date Mon, 09 Nov 2015 08:41:14 GMT
Author: desruisseaux
Date: Mon Nov  9 08:41:14 2015
New Revision: 1713344

URL: http://svn.apache.org/viewvc?rev=1713344&view=rev
Log:
Try to make the test pass under Windows style of EOL.

Modified:
    sis/branches/JDK8/core/sis-metadata/src/test/java/org/apache/sis/test/MetadataAssert.java

Modified: sis/branches/JDK8/core/sis-metadata/src/test/java/org/apache/sis/test/MetadataAssert.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-metadata/src/test/java/org/apache/sis/test/MetadataAssert.java?rev=1713344&r1=1713343&r2=1713344&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-metadata/src/test/java/org/apache/sis/test/MetadataAssert.java
[UTF-8] (original)
+++ sis/branches/JDK8/core/sis-metadata/src/test/java/org/apache/sis/test/MetadataAssert.java
[UTF-8] Mon Nov  9 08:41:14 2015
@@ -128,7 +128,7 @@ public strictfp class MetadataAssert ext
                 WKT_FORMAT.setConvention(convention);
                 wkt = WKT_FORMAT.format(object);
             }
-            if (!wkt.matches(expected)) {
+            if (!wkt.matches(expected.replace("\n", System.lineSeparator()))) {
                 fail("WKT does not match the expected regular expression. The WKT that we
got is:\n" + wkt);
             }
         }



Mime
View raw message