diff options
Diffstat (limited to 't')
-rw-r--r-- | t/Support/Templates.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/t/Support/Templates.pm b/t/Support/Templates.pm index c4fc3160a..91946507d 100644 --- a/t/Support/Templates.pm +++ b/t/Support/Templates.pm @@ -39,6 +39,9 @@ foreach my $file (@files) { foreach my $line (@lines) { if ($line =~ m/template->process\(\"(.+?)\", .+?\)/) { $template = $1; + # Ignore templates with $ in the name, since they're + # probably vars, not real files + next if $template =~ m/\$/; push (@testitems, $template) unless $t{$template}; $t{$template} = 1; } |