summaryrefslogtreecommitdiff
path: root/t/tests/page.t
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2015-09-10 15:46:11 +0100
committerdakkar <dakkar@thenautilus.net>2015-09-10 15:46:11 +0100
commit99f8ccd6cddc6fa9a021d4118e6a706a19e474b1 (patch)
tree5316e1bbfed711087393f4a1e8fd103cbc5d9cfb /t/tests/page.t
parentwork around rakudo bug #126006 (diff)
downloadWebCoso-p6-99f8ccd6cddc6fa9a021d4118e6a706a19e474b1.tar.gz
WebCoso-p6-99f8ccd6cddc6fa9a021d4118e6a706a19e474b1.tar.bz2
WebCoso-p6-99f8ccd6cddc6fa9a021d4118e6a706a19e474b1.zip
maybe I got deps working
I'd still like to make the whole thing more readable, though
Diffstat (limited to 't/tests/page.t')
-rw-r--r--t/tests/page.t5
1 files changed, 3 insertions, 2 deletions
diff --git a/t/tests/page.t b/t/tests/page.t
index 939c404..57ac1cb 100644
--- a/t/tests/page.t
+++ b/t/tests/page.t
@@ -14,6 +14,7 @@ $destdir.mkdir;
$srcdir.child('document.it.tt').spurt('it');
$srcdir.child('document.en.rest.txt').spurt('en');
+$srcdir.child('du2xhtml.xsl').spurt('<>');
my $wc = WebCoso.new(:$srcdir,:$destdir);
$wc.new-page('');
@@ -25,8 +26,8 @@ dd %output;
cmp-files(
%output,
{
- it => { $^x.slurp eq 'it expanded parsed converted decorated' },
- en => { $^x.slurp eq 'en parsed converted decorated' },
+ it => { $^x.contents eq 'it expanded parsed converted decorated' },
+ en => { $^x.contents eq 'en parsed converted decorated' },
},
'built everyting',
);