projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
autogenerate API listing from comments in the source (from Benjamin
[p5sagit/p5-mst-13.2.git]
/
t
/
lib
/
textwrap.t
diff --git
a/t/lib/textwrap.t
b/t/lib/textwrap.t
index
3b6a1ea
..
bb1d5ca
100755
(executable)
--- a/
t/lib/textwrap.t
+++ b/
t/lib/textwrap.t
@@
-2,8
+2,9
@@
BEGIN {
chdir 't' if -d 't';
- @INC = '../lib';
+ unshift @INC, '../lib';
}
+use Text::Wrap qw(&wrap);
@tests = (split(/\nEND\n/s, <<DONE));
TEST1
@@
-88,9
+89,7
@@
DONE
$| = 1;
-print "1..";
-print @tests/2;
-print "\n";
+print "1..", @tests/2, "\n";
use Text::Wrap;