r2242 - trunk/varnish-tools/regress/lib/Varnish/Test
des at projects.linpro.no
des at projects.linpro.no
Thu Nov 8 22:32:42 CET 2007
Author: des
Date: 2007-11-08 22:32:42 +0100 (Thu, 08 Nov 2007)
New Revision: 2242
Modified:
trunk/varnish-tools/regress/lib/Varnish/Test/Case.pm
Log:
Nit
Modified: trunk/varnish-tools/regress/lib/Varnish/Test/Case.pm
===================================================================
--- trunk/varnish-tools/regress/lib/Varnish/Test/Case.pm 2007-11-08 21:31:16 UTC (rev 2241)
+++ trunk/varnish-tools/regress/lib/Varnish/Test/Case.pm 2007-11-08 21:32:42 UTC (rev 2242)
@@ -168,9 +168,8 @@
no strict 'refs';
my @tests = @{ref($self)."::TESTS"};
- if (!@tests) {
- @tests = sort grep {/^test(\w+)/} (keys %{ref($self) . '::'});
- }
+ @tests = sort grep {/^test(\w+)/} (keys %{ref($self) . '::'})
+ unless @tests;
$self->{'start'} = [gettimeofday()];
foreach my $method (@tests) {
eval {
More information about the varnish-commit
mailing list