ctf: Fix a test on Windows
authorMarc-Andre Laperle <marc-andre.laperle@ericsson.com>
Wed, 3 Sep 2014 18:31:27 +0000 (14:31 -0400)
committerMarc-Andre Laperle <marc-andre.laperle@ericsson.com>
Wed, 3 Sep 2014 22:31:45 +0000 (18:31 -0400)
Change-Id: I6f355ca654243ac5c612afb7651b73f91f5fded3
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/32812
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
org.eclipse.linuxtools.ctf.core.tests/src/org/eclipse/linuxtools/ctf/core/tests/event/CTFEventDefinitionTest.java

index 82a14f540f2102f2a4fb3c9fb4cc95f638b4169d..cda9ec4ccdacc88501b88999311fb7a0ba71f1fc 100644 (file)
@@ -139,7 +139,7 @@ public class CTFEventDefinitionTest {
         } else {
             assertNull(title, ed.getFields());
         }
-        assertTrue(title, ed.toString().startsWith("Event type: null\nTimestamp: 100"));
+        assertTrue(title, ed.toString().startsWith("Event type: null" + System.getProperty("line.separator") + "Timestamp: 100"));
     }
 
 }
This page took 0.024523 seconds and 5 git commands to generate.