aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/lux/data/format/xml.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/test/lux/data/format/xml.lux')
-rw-r--r--stdlib/source/test/lux/data/format/xml.lux50
1 files changed, 25 insertions, 25 deletions
diff --git a/stdlib/source/test/lux/data/format/xml.lux b/stdlib/source/test/lux/data/format/xml.lux
index c547d400c..b4c0e7276 100644
--- a/stdlib/source/test/lux/data/format/xml.lux
+++ b/stdlib/source/test/lux/data/format/xml.lux
@@ -63,35 +63,35 @@
(random.or (..text 1 10)
(do random.monad
[size (..size 0 2)]
- ($_ random.and
- ..symbol
- (random.dictionary symbol.hash size ..symbol (..text 0 10))
- (random.list size random)))))))
+ (all random.and
+ ..symbol
+ (random.dictionary symbol.hash size ..symbol (..text 0 10))
+ (random.list size random)))))))
(def: .public test
Test
(<| (_.covering /._)
(_.for [/.XML])
- ($_ _.and
- (_.for [/.equivalence]
- ($equivalence.spec /.equivalence ..random))
- (_.for [/.codec]
- ($codec.spec /.equivalence /.codec ..random))
+ (all _.and
+ (_.for [/.equivalence]
+ ($equivalence.spec /.equivalence ..random))
+ (_.for [/.codec]
+ ($codec.spec /.equivalence /.codec ..random))
- (do [! random.monad]
- [(^.let symbol [namespace name]) ..symbol]
- (`` ($_ _.and
- (~~ (template [<type> <format>]
- [(_.cover [<type> <format>]
- (and (text#= name (<format> ["" name]))
- (let [symbol (<format> symbol)]
- (and (text.starts_with? namespace symbol)
- (text.ends_with? name symbol)))))]
+ (do [! random.monad]
+ [(^.let symbol [namespace name]) ..symbol]
+ (`` (all _.and
+ (~~ (template [<type> <format>]
+ [(_.cover [<type> <format>]
+ (and (text#= name (<format> ["" name]))
+ (let [symbol (<format> symbol)]
+ (and (text.starts_with? namespace symbol)
+ (text.ends_with? name symbol)))))]
- [/.Tag /.tag]
- [/.Attribute /.attribute]
- ))
- (_.cover [/.Attrs /.attributes]
- (dictionary.empty? /.attributes))
- )))
- )))
+ [/.Tag /.tag]
+ [/.Attribute /.attribute]
+ ))
+ (_.cover [/.Attrs /.attributes]
+ (dictionary.empty? /.attributes))
+ )))
+ )))