Merge branch 'Jalview-JS/JAL-3253-applet' of https://source.jalview.org/git/jalview...
[jalview.git] / test / jalview / io / StockholmFileTest.java
index e86c8ad..cdadf31 100644 (file)
@@ -837,7 +837,8 @@ public class StockholmFileTest
     String stockholmFile = sf.print(alWithSpaces.getSequencesArray(), true);
     Pattern noSpacesInRnaSSAnnotation = Pattern
             .compile("\\n#=GC SS_cons\\s+\\S{14}\\n");
-    Matcher m = noSpacesInRnaSSAnnotation.matcher(stockholmFile);
+    Matcher m = noSpacesInRnaSSAnnotation
+            .matcher(stockholmFile.replace("\r\n", "\n"));
     boolean matches = m.find();
     Assert.assertTrue(matches,
             "StockholmFile output does not contain expected output (may contain spaces):\n"