summaryrefslogtreecommitdiff
path: root/cpan/Text-Tabs
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2009-10-15 18:05:50 -0500
committerCraig A. Berry <craigberry@mac.com>2009-10-15 18:07:11 -0500
commitdfc949a06e1ca43ec18b9a191539e082e707d41e (patch)
treee06ede4fde4c048052fc0a429addf6955f17254f /cpan/Text-Tabs
parenta44d0896a6c4bfe01ea532694b8c1c073ea6a2f1 (diff)
downloadperl-dfc949a06e1ca43ec18b9a191539e082e707d41e.tar.gz
Restore 8d2345e02f493825c3e22467caf8508ee3a19450.
Also reported upstream this time (oops): https://rt.cpan.org/Ticket/Display.html?id=50542
Diffstat (limited to 'cpan/Text-Tabs')
-rw-r--r--cpan/Text-Tabs/t/fill.t5
-rw-r--r--cpan/Text-Tabs/t/tabs.t5
2 files changed, 4 insertions, 6 deletions
diff --git a/cpan/Text-Tabs/t/fill.t b/cpan/Text-Tabs/t/fill.t
index dab043297e..8af4a0e9c4 100644
--- a/cpan/Text-Tabs/t/fill.t
+++ b/cpan/Text-Tabs/t/fill.t
@@ -49,9 +49,8 @@ DONE
$| = 1;
-print "1..";
-print @tests/2;
-print "\n";
+my $numtests = scalar(@tests) / 2;
+print "1..$numtests\n";
use Text::Wrap;
diff --git a/cpan/Text-Tabs/t/tabs.t b/cpan/Text-Tabs/t/tabs.t
index 1bba9a63e2..cd6f32c443 100644
--- a/cpan/Text-Tabs/t/tabs.t
+++ b/cpan/Text-Tabs/t/tabs.t
@@ -86,9 +86,8 @@ DONE
$| = 1;
-print "1..";
-print @tests/2;
-print "\n";
+my $numtests = scalar(@tests) / 2;
+print "1..$numtests\n";
use Text::Tabs;