From 5ac0fa098c1812d9b5c57e8844ec1f44ed1cde05 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Mon, 3 Dec 2012 19:02:50 +0100 Subject: Bug 817634: Tests in t/ should also check themselves where appropriate r=glob a=LpSolit --- t/005whitespace.t | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 't/005whitespace.t') diff --git a/t/005whitespace.t b/t/005whitespace.t index 624df69f6..8cb2f7e8f 100644 --- a/t/005whitespace.t +++ b/t/005whitespace.t @@ -17,10 +17,11 @@ use Support::Files; use Support::Templates; use File::Spec; -use Test::More tests => ( scalar(@Support::Files::testitems) +use Test::More tests => (scalar(@Support::Files::testitems) + + scalar(@Support::Files::test_files) + $Support::Templates::num_actual_files) * 3; -my @testitems = @Support::Files::testitems; +my @testitems = (@Support::Files::testitems, @Support::Files::test_files); for my $path (@Support::Templates::include_paths) { push(@testitems, map(File::Spec->catfile($path, $_), Support::Templates::find_actual_files($path))); -- cgit v1.2.3-24-g4f1b