From 4a2aa49e0e561c1bc25aa962449fa2fcce9207ba Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sat, 9 May 2020 23:50:28 +0200 Subject: Fixed tests. --- .../kotlin/test/pl/treksoft/kvision/form/select/SelectInputSpec.kt | 6 +++--- .../test/kotlin/test/pl/treksoft/kvision/form/select/SelectSpec.kt | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'kvision-modules/kvision-bootstrap-select/src/test') diff --git a/kvision-modules/kvision-bootstrap-select/src/test/kotlin/test/pl/treksoft/kvision/form/select/SelectInputSpec.kt b/kvision-modules/kvision-bootstrap-select/src/test/kotlin/test/pl/treksoft/kvision/form/select/SelectInputSpec.kt index 679b1529..04b1ea48 100644 --- a/kvision-modules/kvision-bootstrap-select/src/test/kotlin/test/pl/treksoft/kvision/form/select/SelectInputSpec.kt +++ b/kvision-modules/kvision-bootstrap-select/src/test/kotlin/test/pl/treksoft/kvision/form/select/SelectInputSpec.kt @@ -21,9 +21,9 @@ */ package test.pl.treksoft.kvision.form.select -import pl.treksoft.kvision.panel.Root -import pl.treksoft.kvision.form.select.SelectWidthType import pl.treksoft.kvision.form.select.SelectInput +import pl.treksoft.kvision.form.select.SelectWidthType +import pl.treksoft.kvision.panel.Root import test.pl.treksoft.kvision.DomSpec import kotlin.browser.document import kotlin.test.Test @@ -44,7 +44,7 @@ class SelectInputSpec : DomSpec { root.add(selectInput) val element = document.getElementById("test") assertTrue( - true == element?.innerHTML?.startsWith("
"), + true == element?.innerHTML?.startsWith("
"), "Should render correct select input" ) } diff --git a/kvision-modules/kvision-bootstrap-select/src/test/kotlin/test/pl/treksoft/kvision/form/select/SelectSpec.kt b/kvision-modules/kvision-bootstrap-select/src/test/kotlin/test/pl/treksoft/kvision/form/select/SelectSpec.kt index fcbf7d62..470fb8db 100644 --- a/kvision-modules/kvision-bootstrap-select/src/test/kotlin/test/pl/treksoft/kvision/form/select/SelectSpec.kt +++ b/kvision-modules/kvision-bootstrap-select/src/test/kotlin/test/pl/treksoft/kvision/form/select/SelectSpec.kt @@ -45,7 +45,7 @@ class SelectSpec : DomSpec { val element = document.getElementById("test") val id = select.input.id assertTrue( - true == element?.innerHTML?.startsWith("
"), + true == element?.innerHTML?.startsWith("
"), "Should render correct select form control" ) } -- cgit