threerings/tripleplay — Issue #3: Test failed in Windows
Author: tmjee
Created: 2011-11-09 00:27:27+00:00
State: open

Test failed in windows

Environment
Windows

JDK version
JDK 1.6.x

Version of Tripleplay:
from trunk

The following patch should fix this
$ git diff ./src/test/java/tripleplay/util/LoggerTest.java
diff --git a/src/test/java/tripleplay/util/LoggerTest.java b/src/test/java/tripl
index df0e7a6..1f70070 100644
--- a/src/test/java/tripleplay/util/LoggerTest.java
+++ b/src/test/java/tripleplay/util/LoggerTest.java
@@ -21,7 +21,7 @@ public class LoggerTest
StringWriter buf = configWriterImpl();
Logger log = new Logger("test");
log.info("This is a test.");
- assertEquals("test: This is a test.\n", buf.toString());
+ assertEquals("test: This is a test."+NEWLINE, buf.toString());
}

@Test

Thanks