aboutsummaryrefslogtreecommitdiff
path: root/kvision-modules/kvision-datacontainer
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2019-07-06 13:31:42 +0200
committerRobert Jaros <rjaros@finn.pl>2019-07-06 13:31:42 +0200
commitc0a51a9be91b8f438ec7605558465bf8a8aac404 (patch)
tree4514bf669ddc4ccf0b4f6481dbdc07e0950bbec1 /kvision-modules/kvision-datacontainer
parent0c8cf5c2bcf32ad72618620c1b49a6aef75070c3 (diff)
downloadkvision-c0a51a9be91b8f438ec7605558465bf8a8aac404.tar.gz
kvision-c0a51a9be91b8f438ec7605558465bf8a8aac404.tar.bz2
kvision-c0a51a9be91b8f438ec7605558465bf8a8aac404.zip
Remove deprecated Label
Diffstat (limited to 'kvision-modules/kvision-datacontainer')
-rw-r--r--kvision-modules/kvision-datacontainer/src/test/kotlin/test/pl/treksoft/kvision/data/DataContainerSpec.kt4
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(