From 134cb687c4e05fd81a03b682505f9fb9d741a8d7 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sat, 9 May 2020 23:53:57 +0200 Subject: Add new className parameter to all DSL builder functions. --- src/test/kotlin/test/pl/treksoft/kvision/form/FieldLabelSpec.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test') diff --git a/src/test/kotlin/test/pl/treksoft/kvision/form/FieldLabelSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/form/FieldLabelSpec.kt index 583fb2a3..a6f8d197 100644 --- a/src/test/kotlin/test/pl/treksoft/kvision/form/FieldLabelSpec.kt +++ b/src/test/kotlin/test/pl/treksoft/kvision/form/FieldLabelSpec.kt @@ -33,7 +33,7 @@ class FieldLabelSpec : DomSpec { fun render() { run { val root = Root("test", containerType = pl.treksoft.kvision.panel.ContainerType.FIXED) - val fl = FieldLabel("input", "Label") + val fl = FieldLabel("input", "Label", classes = setOf("control-label")) root.add(fl) val element = document.getElementById("test") assertEqualsHtml( -- cgit