diff --git a/domain-management/src/test/java/org/jboss/as/domain/management/security/AssertConsoleBuilder.java b/domain-management/src/test/java/org/jboss/as/domain/management/security/AssertConsoleBuilder.java
index <HASH>..<HASH> 100644
--- a/domain-management/src/test/java/org/jboss/as/domain/management/security/AssertConsoleBuilder.java
+++ b/domain-management/src/test/java/org/jboss/as/domain/management/security/AssertConsoleBuilder.java
@@ -54,7 +54,7 @@ import static org.junit.Assert.*;
 * @author <a href="mailto:flemming.harms@gmail.com">Flemming Harms</a>
 */
 public class AssertConsoleBuilder {
-    private static String NEW_LINE = "\n";
+    private static String NEW_LINE = String.format("%n");
 
     private enum Type {
         DISPLAY, INPUT
fix for failed tests on windows

was: 3d<I>e<I>dc7ea<I>da<I>b<I>a<I>c3cea<I>