aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/test')
-rw-r--r--stdlib/source/test/lux/type/unit.lux6
1 files changed, 4 insertions, 2 deletions
diff --git a/stdlib/source/test/lux/type/unit.lux b/stdlib/source/test/lux/type/unit.lux
index 1006d9dbb..b4662133e 100644
--- a/stdlib/source/test/lux/type/unit.lux
+++ b/stdlib/source/test/lux/type/unit.lux
@@ -45,7 +45,8 @@
($enum.spec /.enum (..meter 1,000)))
))
-(/.unit: What what)
+(def: what (/.unit []))
+(def: What (/.type what))
(def: unit
Test
@@ -70,9 +71,10 @@
/.pure
/.number
(i.= expected)))
- (_.coverage [/.unit:]
+ (_.coverage [/.unit /.type]
(|> expected
(at ..what in)
+ (is (/.Qty What))
(at ..what out)
(i.= expected)))
)))))