summaryrefslogtreecommitdiff
path: root/t/templates_documented.t
blob: 826c51d3667ab1ae93c636c330e010d379630fec (plain)
  1. #!/usr/bin/perl
  2. use warnings;
  3. use strict;
  4. use Test::More 'no_plan';
  5. $/=undef;
  6. open(IN, "doc/templates.mdwn") || die "doc/templates.mdwn: $!";
  7. my $page=<IN>;
  8. close IN;
  9. foreach my $file (glob("templates/*.tmpl")) {
  10. $file=~s/templates\///;
  11. ok($page =~ /\Q$file\E/, "$file documented on doc/templates.mdwn");
  12. }