Skip to content

Commit

Permalink
Add TODO tests for RT#115156
Browse files Browse the repository at this point in the history
  • Loading branch information
arc authored and Karl Williamson committed Oct 7, 2012
1 parent 5c1648b commit f8cafa5
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions t/x2p/s2p.t
Expand Up @@ -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",
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit f8cafa5

Please sign in to comment.