aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/lux/meta/version.lux
diff options
context:
space:
mode:
authorEduardo Julian2022-04-09 03:03:46 -0400
committerEduardo Julian2022-04-09 03:03:46 -0400
commit04c7f49a732380a2b9f72b1b937171b341c24323 (patch)
treed54c92bf10665bba0ec4643746becce569604fb2 /stdlib/source/test/lux/meta/version.lux
parentf11afb9d2dfe2d59b41e8056eb8c4ae65268415f (diff)
Better names for testing macros (plus better indentation).
Diffstat (limited to '')
-rw-r--r--stdlib/source/test/lux/meta/version.lux28
1 files changed, 14 insertions, 14 deletions
diff --git a/stdlib/source/test/lux/meta/version.lux b/stdlib/source/test/lux/meta/version.lux
index 58e8296c9..4f0f769f9 100644
--- a/stdlib/source/test/lux/meta/version.lux
+++ b/stdlib/source/test/lux/meta/version.lux
@@ -38,18 +38,18 @@
(with_expansions [<current> (/.current)
<fake> (static.random code.text (random.lower_case 1))])
(all _.and
- (_.cover [/.latest]
- (n.> 0 /.latest))
- (_.cover [/.current]
- (not (text.empty? (/.current))))
- (_.cover [/.for]
- (and (/.for <current> true
- false)
- (/.for <fake> false
- true)))
- (_.cover [/.invalid]
- (and (text.contains? (the exception.#label /.invalid)
- (..failure (/.for)))
- (text.contains? (the exception.#label /.invalid)
- (..failure (/.for <fake> false)))))
+ (_.coverage [/.latest]
+ (n.> 0 /.latest))
+ (_.coverage [/.current]
+ (not (text.empty? (/.current))))
+ (_.coverage [/.for]
+ (and (/.for <current> true
+ false)
+ (/.for <fake> false
+ true)))
+ (_.coverage [/.invalid]
+ (and (text.contains? (the exception.#label /.invalid)
+ (..failure (/.for)))
+ (text.contains? (the exception.#label /.invalid)
+ (..failure (/.for <fake> false)))))
)))