From 6c8d768508142c8a6a672b94311c8e9257f15735 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Mon, 21 Jan 2019 12:41:10 +0100 Subject: Removed mapping function from DataContainer class. Add sorter and sorterType functions instead. --- src/test/kotlin/test/pl/treksoft/kvision/data/DataContainerSpec.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/kotlin') diff --git a/src/test/kotlin/test/pl/treksoft/kvision/data/DataContainerSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/data/DataContainerSpec.kt index 3f07626d..2cf3160d 100644 --- a/src/test/kotlin/test/pl/treksoft/kvision/data/DataContainerSpec.kt +++ b/src/test/kotlin/test/pl/treksoft/kvision/data/DataContainerSpec.kt @@ -42,7 +42,7 @@ class DataContainerSpec : DomSpec { } val model = observableListOf(Model("First"), Model("Second")) - val container = DataContainer(model, { _, m -> Label(m.value) }) + val container = DataContainer(model, { m, _, _ -> Label(m.value) }) root.add(container) val element = document.getElementById("test") assertEqualsHtml( -- cgit