This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d39ae0
)
In the new test for less.pm, call use_ok at compile-time
author
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Sun, 7 Jan 2007 23:27:03 +0000
(23:27 +0000)
committer
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Sun, 7 Jan 2007 23:27:03 +0000
(23:27 +0000)
and add -w.
p4raw-id: //depot/perl@29710
lib/less.t
patch
|
blob
|
blame
|
history
diff --git
a/lib/less.t
b/lib/less.t
index
34dc054
..
3cca6fa
100644
(file)
--- a/
lib/less.t
+++ b/
lib/less.t
@@
-1,4
+1,4
@@
-#!./perl
+#!./perl
-w
BEGIN {
chdir 't' if -d 't';
@@
-7,7
+7,7
@@
BEGIN {
use Test::More tests => 6;
-use_ok( 'less' );
+BEGIN { use_ok( 'less' ) }
is_deeply([less->of], [], 'more please');
use less;