response
[ikiwiki.git] / t / templates_documented.t
blob826c51d3667ab1ae93c636c330e010d379630fec
1 #!/usr/bin/perl
2 use warnings;
3 use strict;
4 use Test::More 'no_plan';
6 $/=undef;
7 open(IN, "doc/templates.mdwn") || die "doc/templates.mdwn: $!";
8 my $page=<IN>;
9 close IN;
11 foreach my $file (glob("templates/*.tmpl")) {
12 $file=~s/templates\///;
13 ok($page =~ /\Q$file\E/, "$file documented on doc/templates.mdwn");