From 5ad14edfbce5128fe6d8b09a52df5dac820ce14e Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Fri, 1 Sep 2017 16:17:01 +0200 Subject: Remove warnings --- src/test/kotlin/test/pl/treksoft/kvision/core/RootSpec.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/test/kotlin') diff --git a/src/test/kotlin/test/pl/treksoft/kvision/core/RootSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/core/RootSpec.kt index b7435e73..dd80bab0 100644 --- a/src/test/kotlin/test/pl/treksoft/kvision/core/RootSpec.kt +++ b/src/test/kotlin/test/pl/treksoft/kvision/core/RootSpec.kt @@ -11,7 +11,7 @@ class RootSpec : DomSpec { @Test fun getSnClass() { run { - val root = Root("test") + Root("test") val rootElem = document.getElementById("test") assertTrue("Standard root container has correct css class") { rootElem?.className == "container" } } @@ -20,7 +20,7 @@ class RootSpec : DomSpec { @Test fun getSnClass_Fluid() { run { - val root = Root("test", fluid = true) + Root("test", fluid = true) val rootElem = document.getElementById("test") assertTrue("Fluid root container has correct css class") { rootElem?.className == "container-fluid" } } -- cgit