Skip to content

Commit

Permalink
track phaser error changes in rakudo
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Mar 18, 2012
1 parent efa9610 commit 9831233
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions S32-exceptions/misc.t
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ throws_like 'constant * = 3;', X::Syntax::Missing, what => /constant/;

throws_like 'class A {...}; grammar B { ... }', X::Package::Stubbed, packages => <A B>;

throws_like 'my sub a { PRE 0 }; a()', X::Phaser::PrePost, what => 'Precondition', condition => /0/;
throws_like 'my sub a { POST 0 }; a()', X::Phaser::PrePost, what => 'Postcondition', condition => /0/;
throws_like 'my sub a { PRE 0 }; a()', X::Phaser::PrePost, phaser => 'PRE', condition => /0/;
throws_like 'my sub a { POST 0 }; a()', X::Phaser::PrePost, phaser => 'POST', condition => /0/;

done;

0 comments on commit 9831233

Please sign in to comment.