Skip to content

Commit

Permalink
Replace one instance of dies_ok with throws_like
Browse files Browse the repository at this point in the history
  • Loading branch information
usev6 committed May 8, 2015
1 parent 9d53706 commit e9074a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion S03-operators/assign.t
Expand Up @@ -886,7 +886,7 @@ sub l () { 1, 2 };
$cc = 1;
};

dies_ok { called pi = 4 },
throws_like { EVAL 'called pi = 4' }, X::Assignment::RO,
'correct precedence between sub call and assignment (1)';
is $cc, 0,
'correct precedence between sub call and assignment (2)';
Expand Down

0 comments on commit e9074a8

Please sign in to comment.