From: Rafael Garcia-Suarez Date: Sun, 7 Jan 2007 23:27:03 +0000 (+0000) Subject: In the new test for less.pm, call use_ok at compile-time X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f8ec8cd2d5faa1409a6cf1952040da067208b229;p=p5sagit%2Fp5-mst-13.2.git In the new test for less.pm, call use_ok at compile-time and add -w. p4raw-id: //depot/perl@29710 --- diff --git a/lib/less.t b/lib/less.t index 34dc054..3cca6fa 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;