From d5d5fcc3a85ef10081772355fc20932b387a35ab Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Tue, 14 Jun 2022 22:39:09 -0400 Subject: De-sigil-ification: suffix : [Part 10] --- stdlib/source/test/lux/type/unit.lux | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'stdlib/source/test') 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))) ))))) -- cgit v1.2.3