Permalink
Browse files

Correct and unfudge a test; POST runs LIFO.

  • Loading branch information...
1 parent 2339d22 commit eb002d65e1bc63d6e0262fd5dff36e9ca23f1730 @jnthn jnthn committed Mar 19, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 S04-phasers/pre-post.t
View
@@ -124,13 +124,12 @@ dies_ok { $pt.test(1) }, 'POST receives return value as $_ (failure)';
my $str;
try {
{
+ POST { $str ~= 'z'; 1 }
POST { $str ~= 'x'; 0 }
LEAVE { $str ~= 'y' }
- POST { $str ~= 'z'; 1 }
}
}
#?pugs todo
- #?rakudo todo 'aborting of failed phasers'
is $str, 'yx', 'failing POST runs LEAVE but not more POSTs';
}

0 comments on commit eb002d6

Please sign in to comment.