aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/lux/meta/version.lux
diff options
context:
space:
mode:
authorEduardo Julian2022-03-14 06:14:57 -0400
committerEduardo Julian2022-03-14 06:14:57 -0400
commit4965597043aca57a05760113f1851e96dad1eaf8 (patch)
tree8126d3e6394e38bc52918eea95a67546350bb95e /stdlib/source/test/lux/meta/version.lux
parentcfd438517a46e025b15345e3570b02f5ea6165c0 (diff)
Leaner syntax for the "for" macro.
Diffstat (limited to '')
-rw-r--r--stdlib/source/test/lux/meta/version.lux8
1 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/source/test/lux/meta/version.lux b/stdlib/source/test/lux/meta/version.lux
index ca219323a..b5c2c0c97 100644
--- a/stdlib/source/test/lux/meta/version.lux
+++ b/stdlib/source/test/lux/meta/version.lux
@@ -43,13 +43,13 @@
(_.cover [/.current]
(not (text.empty? (/.current))))
(_.cover [/.for]
- (and (/.for [<current> true]
+ (and (/.for <current> true
false)
- (/.for [<fake> false]
+ (/.for <fake> false
true)))
(_.cover [/.invalid]
(and (text.contains? (the exception.#label /.invalid)
- (..failure (/.for [])))
+ (..failure (/.for)))
(text.contains? (the exception.#label /.invalid)
- (..failure (/.for [<fake> false])))))
+ (..failure (/.for <fake> false)))))
)))