From c0a51a9be91b8f438ec7605558465bf8a8aac404 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sat, 6 Jul 2019 13:31:42 +0200 Subject: Remove deprecated Label --- .../test/kotlin/test/pl/treksoft/kvision/data/DataContainerSpec.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kvision-modules/kvision-datacontainer/src/test/kotlin/test/pl/treksoft/kvision/data/DataContainerSpec.kt b/kvision-modules/kvision-datacontainer/src/test/kotlin/test/pl/treksoft/kvision/data/DataContainerSpec.kt index 36347cd3..3904fab7 100644 --- a/kvision-modules/kvision-datacontainer/src/test/kotlin/test/pl/treksoft/kvision/data/DataContainerSpec.kt +++ b/kvision-modules/kvision-datacontainer/src/test/kotlin/test/pl/treksoft/kvision/data/DataContainerSpec.kt @@ -23,7 +23,7 @@ package test.pl.treksoft.kvision.data import pl.treksoft.kvision.data.BaseDataComponent import pl.treksoft.kvision.data.DataContainer -import pl.treksoft.kvision.html.Label +import pl.treksoft.kvision.html.Span import pl.treksoft.kvision.panel.Root import pl.treksoft.kvision.panel.VPanel import pl.treksoft.kvision.utils.observableListOf @@ -43,7 +43,7 @@ class DataContainerSpec : DomSpec { } val model = observableListOf(Model("First"), Model("Second")) - val container = DataContainer(model, { m, _, _ -> Label(m.value) }, VPanel()) + val container = DataContainer(model, { m, _, _ -> Span(m.value) }, VPanel()) root.add(container) val element = document.getElementById("test") assertEqualsHtml( -- cgit