diff --git a/jme3-plugins/src/test/java/com/jme3/material/plugin/TestMaterialWrite.java b/jme3-plugins/src/test/java/com/jme3/material/plugin/TestMaterialWrite.java index f7c3b9d9f..22378f59e 100644 --- a/jme3-plugins/src/test/java/com/jme3/material/plugin/TestMaterialWrite.java +++ b/jme3-plugins/src/test/java/com/jme3/material/plugin/TestMaterialWrite.java @@ -73,7 +73,7 @@ public class TestMaterialWrite { // System.err.println(reference); // System.err.println(stream.toString()); - assertEquals(reference.replaceAll("\\s",""), stream.toString().replaceAll("\\s","")); + assertEquals(reference.replaceAll("[\\s|\\r\\n]",""), stream.toString().replaceAll("[\\s|\\r\\n]","")); } private String convertStreamToString(java.io.InputStream is) {