summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-04-20 20:24:46 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-04-20 20:24:46 +0000
commit19842e531506a11c0c8d404f528df2a369b63fa7 (patch)
tree59834b1f3976ad27012483ca5801ad3b0f0bef99 /t
parent768bc71f1883d4b774b1cdf77f1b6c91d2d5d1be (diff)
downloadperl-19842e531506a11c0c8d404f528df2a369b63fa7.tar.gz
Add test boilerplate and use test.pl instead of Test::More
p4raw-id: //depot/perl@27923
Diffstat (limited to 't')
-rw-r--r--t/op/rxcode.t10
1 files changed, 9 insertions, 1 deletions
diff --git a/t/op/rxcode.t b/t/op/rxcode.t
index 18b1b3e3a6..36d20a762d 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?' );