aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2018-02-26 12:46:35 +0100
committerRobert Jaros <rjaros@finn.pl>2018-02-26 12:46:35 +0100
commit60bf54b6062199de460c7213f87f5cac8c9d97b3 (patch)
tree8398922778f58501b75113ad508b440adc130022 /src/test
parent5c98e5bb469269d54fb508f2adf589da696cbcd6 (diff)
downloadkvision-60bf54b6062199de460c7213f87f5cac8c9d97b3.tar.gz
kvision-60bf54b6062199de460c7213f87f5cac8c9d97b3.tar.bz2
kvision-60bf54b6062199de460c7213f87f5cac8c9d97b3.zip
Fix UNIT type name.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/core/WidgetWrapperSpec.kt4
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(