1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 19:25:25 +03:00
aports/testing/perl-test-unit/testcase.patch
2017-04-27 05:46:11 +00:00

11 lines
301 B
Diff

--- 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 {