Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use dies_ok instead of 'defined try'.
  • Loading branch information
jnthn committed Oct 25, 2012
1 parent 81a684c commit 00ff866
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion S06-traits/precedence.t
Expand Up @@ -81,7 +81,7 @@ do {
}

is( -1!, -1 , "Should be parsed as '-(1!)'");
ok((not defined try eval '4 !'), "Whitespace not allowed before user-defined postfix");
dies_ok( { eval '4 !' }, "Whitespace not allowed before user-defined postfix");
}


Expand Down

0 comments on commit 00ff866

Please sign in to comment.