You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
517 B
13 lines
517 B
diff -up Test-Unit-0.25/lib/Test/Unit/TestCase.pm.orig Test-Unit-0.25/lib/Test/Unit/TestCase.pm
|
|
--- Test-Unit-0.25/lib/Test/Unit/TestCase.pm.orig 2012-06-12 15:38:32.058355073 +0200
|
|
+++ Test-Unit-0.25/lib/Test/Unit/TestCase.pm 2012-06-12 15:38:58.340484917 +0200
|
|
@@ -103,7 +103,7 @@ sub list_tests {
|
|
my $class = ref($_[0]) || $_[0];
|
|
my @tests = ();
|
|
no strict 'refs';
|
|
- if (defined(@{"$class\::TESTS"})) {
|
|
+ if (@{"$class\::TESTS"}) {
|
|
push @tests, @{"$class\::TESTS"};
|
|
}
|
|
else {
|