summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-01-07 23:27:03 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-01-07 23:27:03 +0000
commitf8ec8cd2d5faa1409a6cf1952040da067208b229 (patch)
treead7373efcb74496a7438116f287b89ffd35d69bd
parent6d39ae0a91d0754337491916b28ae6bf3372c7be (diff)
downloadperl-f8ec8cd2d5faa1409a6cf1952040da067208b229.tar.gz
In the new test for less.pm, call use_ok at compile-time
and add -w. p4raw-id: //depot/perl@29710
-rw-r--r--lib/less.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/less.t b/lib/less.t
index 34dc054d3a..3cca6fa7c9 100644
--- 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;