diff options
author | Robert Jaros <rjaros@finn.pl> | 2019-07-06 13:31:42 +0200 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2019-07-06 13:31:42 +0200 |
commit | c0a51a9be91b8f438ec7605558465bf8a8aac404 (patch) | |
tree | 4514bf669ddc4ccf0b4f6481dbdc07e0950bbec1 /kvision-modules/kvision-datacontainer/src/test/kotlin | |
parent | 0c8cf5c2bcf32ad72618620c1b49a6aef75070c3 (diff) | |
download | kvision-c0a51a9be91b8f438ec7605558465bf8a8aac404.tar.gz kvision-c0a51a9be91b8f438ec7605558465bf8a8aac404.tar.bz2 kvision-c0a51a9be91b8f438ec7605558465bf8a8aac404.zip |
Remove deprecated Label
Diffstat (limited to 'kvision-modules/kvision-datacontainer/src/test/kotlin')
-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( |