aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/aedifex/local.lux
diff options
context:
space:
mode:
authorEduardo Julian2020-12-10 22:29:32 -0400
committerEduardo Julian2020-12-10 22:29:32 -0400
commit9af671a34728b35c48bff2ba163c371dc5084946 (patch)
treeec35f32b8f0cabec702708e0e3cc4462b587c752 /stdlib/source/test/aedifex/local.lux
parentd747aada2d6df6538d0a88d70169f3757aef50af (diff)
Render XML to text in an indented form for human readability.
Diffstat (limited to 'stdlib/source/test/aedifex/local.lux')
-rw-r--r--stdlib/source/test/aedifex/local.lux5
1 files changed, 3 insertions, 2 deletions
diff --git a/stdlib/source/test/aedifex/local.lux b/stdlib/source/test/aedifex/local.lux
index 1d90ff905..b95bf2e19 100644
--- a/stdlib/source/test/aedifex/local.lux
+++ b/stdlib/source/test/aedifex/local.lux
@@ -24,12 +24,13 @@
(<| (_.covering /._)
(do {! random.monad}
[sample @artifact.random
+ home (random.ascii/alpha 5)
#let [fs (: (file.System Promise)
(file.mock (\ file.default separator)))]]
($_ _.and
(_.cover [/.repository /.path]
- (let [path (/.path fs sample)]
- (and (text.starts-with? (/.repository fs)
+ (let [path (/.path fs home sample)]
+ (and (text.starts-with? (/.repository fs home)
path)
(text.ends-with? (//artifact.path fs sample)
path))))