projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
6d39ae0
)
In the new test for less.pm, call use_ok at compile-time
Rafael Garcia-Suarez [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;