mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 11:15:13 +03:00
11 lines
301 B
Diff
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 {
|