summaryrefslogtreecommitdiff
path: root/t/tests/page.t
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2015-09-11 15:32:51 +0100
committerdakkar <dakkar@thenautilus.net>2015-09-11 15:32:51 +0100
commitdf354d91e7e315b839d5c292e386e64ca339cb07 (patch)
tree476314347374acc122848a6d0202fb137aba225f /t/tests/page.t
parentfix deps out-of-date comparison (diff)
downloadWebCoso-p6-df354d91e7e315b839d5c292e386e64ca339cb07.tar.gz
WebCoso-p6-df354d91e7e315b839d5c292e386e64ca339cb07.tar.bz2
WebCoso-p6-df354d91e7e315b839d5c292e386e64ca339cb07.zip
filesets! don't work
I think I'm trying to be too clever, merging "these files make up a document, a file per language" with "these files are needed to build a result file in a certain language". Those should probably be separate classes.
Diffstat (limited to 't/tests/page.t')
-rw-r--r--t/tests/page.t14
1 files changed, 6 insertions, 8 deletions
diff --git a/t/tests/page.t b/t/tests/page.t
index 62faf98..9cff6d7 100644
--- a/t/tests/page.t
+++ b/t/tests/page.t
@@ -20,11 +20,11 @@ my $wc = WebCoso.new(:$srcdir,:$destdir);
$wc.new-page('');
$wc.run();
-my %output = $wc.get-files('','document','html');
-dd %output;
+my $output = $wc.get-files('','document','html');
+dd $output;
cmp-files(
- %output,
+ $output,
{
it => { $^x.contents eq 'it expanded parsed converted (<>) decorated' },
en => { $^x.contents eq 'en parsed converted (<>) decorated' },
@@ -34,13 +34,11 @@ cmp-files(
$wc.get-file('','du2xhtml.xsl').contents('<new>');
-%output = $wc.get-files('','document','html');
-dd %output;
-dd %output<it>.contents;
-dd %output<en>.contents;
+$output = $wc.get-files('','document','html');
+dd $output;
cmp-files(
- %output,
+ $output,
{
it => { $^x.contents eq 'it expanded parsed converted (<new>) decorated' },
en => { $^x.contents eq 'en parsed converted (<new>) decorated' },