From: Rafael Garcia-Suarez Date: Thu, 20 Apr 2006 20:24:46 +0000 (+0000) Subject: Add test boilerplate and use test.pl instead of Test::More X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=19842e531506a11c0c8d404f528df2a369b63fa7;p=p5sagit%2Fp5-mst-13.2.git Add test boilerplate and use test.pl instead of Test::More p4raw-id: //depot/perl@27923 --- diff --git a/t/op/rxcode.t b/t/op/rxcode.t index 18b1b3e..36d20a7 100644 --- a/t/op/rxcode.t +++ b/t/op/rxcode.t @@ -1,4 +1,12 @@ -use Test::More tests => 34; +#!./perl + +BEGIN { + chdir 't' if -d 't'; + @INC = '../lib'; + require './test.pl'; +} + +plan tests => 34; $^R = undef; like( 'a', qr/^a(?{1})(?:b(?{2}))?/, 'a =~ ab?' );