diff options
Diffstat (limited to 'kvision-modules/kvision-datacontainer/src')
-rw-r--r-- | kvision-modules/kvision-datacontainer/src/test/kotlin/test/pl/treksoft/kvision/data/DataContainerSpec.kt | 4 |
1 files 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( |