You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.
The last released version of Test::Unit is 0.25. Perl 5.20.2 complains with it about deprecated "defined(@array)" and does not install it over cpan. Write down in doc/README.deps, that this patch is recommended towards Test::Unit to make the perl interpreter happy:
--- lib/Test/Unit/TestCase.pm.orig+++ 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 {
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The last released version of Test::Unit is 0.25. Perl 5.20.2 complains with it about deprecated "defined(@array)" and does not install it over cpan. Write down in doc/README.deps, that this patch is recommended towards Test::Unit to make the perl interpreter happy:
The text was updated successfully, but these errors were encountered: