From 51b7e46f4623b1e40caa3152f7482931207d696a Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Tue, 27 Oct 2015 21:01:29 -0700 Subject: [PATCH] Test investigation. --- .../kotlin/com/beust/kobalt/internal/DynamicGraphTest.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/test/kotlin/com/beust/kobalt/internal/DynamicGraphTest.kt b/src/test/kotlin/com/beust/kobalt/internal/DynamicGraphTest.kt index 246e1337..82a06bdb 100644 --- a/src/test/kotlin/com/beust/kobalt/internal/DynamicGraphTest.kt +++ b/src/test/kotlin/com/beust/kobalt/internal/DynamicGraphTest.kt @@ -67,7 +67,10 @@ public class DynamicGraphTest { val ex = DynamicGraphExecutor(g, factory) ex.run() Thread.yield() - Assert.assertEquals(runNodes, listOf(1, 2, 3, 5)) + val expected = listOf(1, 2, 3, 5) + if (runNodes != expected) { + Assert.assertFalse("Expected $expected but got $runNodes") + } } @Test