diff options
Diffstat (limited to 'src/test/kotlin')
-rw-r--r-- | src/test/kotlin/test/pl/treksoft/kvision/core/WidgetWrapperSpec.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/core/WidgetWrapperSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/core/WidgetWrapperSpec.kt index a3f17b3d..ff224b99 100644 --- a/src/test/kotlin/test/pl/treksoft/kvision/core/WidgetWrapperSpec.kt +++ b/src/test/kotlin/test/pl/treksoft/kvision/core/WidgetWrapperSpec.kt @@ -22,7 +22,7 @@ package test.pl.treksoft.kvision.core import pl.treksoft.kvision.panel.Root -import pl.treksoft.kvision.core.Unit +import pl.treksoft.kvision.core.UNIT import pl.treksoft.kvision.core.Widget import pl.treksoft.kvision.core.WidgetWrapper import test.pl.treksoft.kvision.DomSpec @@ -38,7 +38,7 @@ class WidgetWrapperSpec : DomSpec { val root = Root("test") val widget = Widget() val wrapper = WidgetWrapper(widget) - wrapper.width = 100 to Unit.em + wrapper.width = 100 to UNIT.em root.add(wrapper) val element = document.getElementById("test") assertEquals( |