aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2017-09-01 16:17:01 +0200
committerRobert Jaros <rjaros@finn.pl>2017-09-01 16:17:01 +0200
commit5ad14edfbce5128fe6d8b09a52df5dac820ce14e (patch)
treeabf2b153b9357e87222e6e6578ef2012eac5ad54 /src
parent79a1a1573051649b7b2d7b3fcd57d8506eb26bcb (diff)
downloadkvision-5ad14edfbce5128fe6d8b09a52df5dac820ce14e.tar.gz
kvision-5ad14edfbce5128fe6d8b09a52df5dac820ce14e.tar.bz2
kvision-5ad14edfbce5128fe6d8b09a52df5dac820ce14e.zip
Remove warnings
Diffstat (limited to 'src')
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/core/RootSpec.kt4
1 files changed, 2 insertions, 2 deletions
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" }
}