This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c1648b
)
Add TODO tests for RT#115156
author
Aaron Crane
<arc@cpan.org>
Sun, 7 Oct 2012 11:40:52 +0000
(12:40 +0100)
committer
Karl Williamson
<public@khwilliamson.com>
Sun, 7 Oct 2012 15:30:05 +0000
(09:30 -0600)
t/x2p/s2p.t
patch
|
blob
|
blame
|
history
diff --git
a/t/x2p/s2p.t
b/t/x2p/s2p.t
index
9707a8b
..
0a0716d
100644
(file)
--- a/
t/x2p/s2p.t
+++ b/
t/x2p/s2p.t
@@
-627,6
+627,19
@@
s/a\{3\}/a rep 3/
[TheEnd]
},
+### s2 ### RT #115156
+'s2' => {
+ todo => 'RT #115156',
+ script => 's/1*$/x/g',
+ input => 'bins',
+ expect => <<'[TheEnd]',
+0x
+x
+1000x
+1000x
+[TheEnd]
+},
+
### t ###
't' => {
script => join( "\n",
@@
-815,6
+828,8
@@
my $indat = '';
for my $tc ( sort keys %testcase ){
my( $psedres, $s2pres );
+ local $TODO = $testcase{$tc}{todo};
+
# 1st test: run psed
# prepare the script
open( SED, ">$script" ) || goto FAIL_BOTH;