From 9ddcf648a1e9a0b2e869cb8804ca7f611e2babb8 Mon Sep 17 00:00:00 2001 From: Alexander Nozik Date: Wed, 8 May 2019 22:31:50 +0300 Subject: [PATCH] Fixed context provider test --- .../commonTest/kotlin/hep/dataforge/context/ContextTest.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dataforge-context/src/commonTest/kotlin/hep/dataforge/context/ContextTest.kt b/dataforge-context/src/commonTest/kotlin/hep/dataforge/context/ContextTest.kt index bf761b8e..1d37c69e 100644 --- a/dataforge-context/src/commonTest/kotlin/hep/dataforge/context/ContextTest.kt +++ b/dataforge-context/src/commonTest/kotlin/hep/dataforge/context/ContextTest.kt @@ -1,9 +1,11 @@ package hep.dataforge.context import hep.dataforge.names.Name +import hep.dataforge.names.appendLeft import hep.dataforge.names.toName import kotlin.test.Test import kotlin.test.assertEquals +import kotlin.test.assertTrue class ContextTest { @@ -31,7 +33,7 @@ class ContextTest { val members = Global.content("test") assertEquals(3, members.count()) members.forEach { - println(it) + assertTrue{it.key == it.value.appendLeft("test")} } }