repo.or.cz
/
ikiwiki.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
doubtfil about patch #3
[ikiwiki.git]
/
t
/
templates_documented.t
blob
826c51d3667ab1ae93c636c330e010d379630fec
1
#!/usr/bin/perl
2
use
warnings
;
3
use
strict
;
4
use
Test
::
More
'no_plan'
;
5
6
$/=
undef
;
7
open
(
IN
,
"doc/templates.mdwn"
) ||
die
"doc/templates.mdwn: $!"
;
8
my
$page
=<
IN
>;
9
close
IN
;
10
11
foreach
my
$file
(
glob
(
"templates/*.tmpl"
)) {
12
$file
=~
s/templates\//
/;
13
ok
(
$page
=~
/\Q$file\E/
,
"
$file
documented on doc/templates.mdwn"
);
14
}