diff options
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/kotlin/test/pl/treksoft/kvision/html/ImageSpec.kt | 1 |
1 files changed, 1 insertions, 0 deletions
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") |