Permalink
Browse files

[t/spec] s/dies_ok/eval_dies_ok/ on a test that will fail at compile …

…time

git-svn-id: http://svn.pugscode.org/pugs@22417 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information...
1 parent 436c2ff commit d269ab06744ee0b4eb60b6a75c7135d3dd69f0d2 moritz committed Sep 26, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 S04-declarations/implicit-parameter.t
@@ -49,5 +49,5 @@ plan 16;
{
#?rakudo skip 'parse failure'
- dies_ok(sub () { sub { $^foo }.(42) }, 'Placeholders not allowed in sub()');
+ eval_dies_ok('sub { $^foo }.(42)', 'Placeholders not allowed in sub()');
}

0 comments on commit d269ab0

Please sign in to comment.