projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
768bc71
)
Add test boilerplate and use test.pl instead of Test::More
author
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Thu, 20 Apr 2006 20:24:46 +0000
(20:24 +0000)
committer
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Thu, 20 Apr 2006 20:24:46 +0000
(20:24 +0000)
p4raw-id: //depot/perl@27923
t/op/rxcode.t
patch
|
blob
|
history
diff --git
a/t/op/rxcode.t
b/t/op/rxcode.t
index 18b1b3e3a64e2216acbd530a9c954e3e29cea7b2..36d20a762dc05c8880626172db65484efa39fd23 100644
(file)
--- 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?' );