aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test
diff options
context:
space:
mode:
authorEduardo Julian2022-06-14 22:39:09 -0400
committerEduardo Julian2022-06-14 22:39:09 -0400
commitd5d5fcc3a85ef10081772355fc20932b387a35ab (patch)
treeeb9cda1dd67a1f157093e5e0c6adcfd97a676bcd /stdlib/source/test
parentda79da086a028a55130fbbbc5e08ed0ce736ff96 (diff)
De-sigil-ification: suffix : [Part 10]
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)))
)))))