From e40c13c62de806169368adc7c2c4212f7df6413b Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Thu, 22 Feb 2018 12:43:43 +0100 Subject: Property values delegated to a map (idea by tieskedh) Closes #2 --- src/test/kotlin/test/pl/treksoft/kvision/html/ImageSpec.kt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/test') diff --git a/src/test/kotlin/test/pl/treksoft/kvision/html/ImageSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/html/ImageSpec.kt index e44d4b44..45ea9eb0 100644 --- a/src/test/kotlin/test/pl/treksoft/kvision/html/ImageSpec.kt +++ b/src/test/kotlin/test/pl/treksoft/kvision/html/ImageSpec.kt @@ -37,6 +37,7 @@ class ImageSpec : DomSpec { run { val root = Root("test") val res = require("./img/placeholder.png") + @Suppress("UnsafeCastFromDynamic") val image = Image(res, "Image", true, IMAGESHAPE.ROUNDED, true) root.add(image) val element = document.getElementById("test") -- cgit