diff options
Diffstat (limited to 'testing/perl-test-unit/testcase.patch')
| -rw-r--r-- | testing/perl-test-unit/testcase.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/perl-test-unit/testcase.patch b/testing/perl-test-unit/testcase.patch new file mode 100644 index 0000000000..9f28755591 --- /dev/null +++ b/testing/perl-test-unit/testcase.patch @@ -0,0 +1,11 @@ +--- a/lib/Test/Unit/TestCase.pm ++++ b/lib/Test/Unit/TestCase.pm +@@ -103,7 +103,7 @@ + my $class = ref($_[0]) || $_[0]; + my @tests = (); + no strict 'refs'; +- if (defined(@{"$class\::TESTS"})) { ++ if (@{"$class\::TESTS"}) { + push @tests, @{"$class\::TESTS"}; + } + else { |
