Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
pugs fudge recent tests
  • Loading branch information
coke committed Apr 15, 2012
1 parent c586129 commit f954d29
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions S02-literals/sub-calls.t
Expand Up @@ -48,6 +48,7 @@ plan 20;
sub succ($x) { $x + 1 }

is(eval(q/succ (1+2) * 30;/), 91, "parens after space aren't call-parens");
#?pugs todo
dies_ok { eval q/succ .(1+2) * 30;/ } , 'parsed as method call on $_';
}
{
Expand Down
1 change: 1 addition & 0 deletions S02-names-vars/variables-and-packages.t
Expand Up @@ -13,6 +13,7 @@ plan 36;
eval_dies_ok 'module PROCESS;', 'PROCESS is an out of scope name';
eval_dies_ok 'module OUTER;', 'OUTER is an out of scope name';
eval_dies_ok 'module CALLER;', 'CALLER is an out of scope name';
#?pugs todo
eval_dies_ok 'module DYNAMIC;', 'DYNAMIC is an out of scope name';
eval_dies_ok 'module COMPILING;', 'COMPILING is an out of scope name';
}
Expand Down
1 change: 1 addition & 0 deletions S06-signature/errors.t
Expand Up @@ -28,6 +28,7 @@ eval_lives_ok 'sub quuuux ($!) { ... }', 'but $! is OK';

# RT #71478
{
#?pugs todo
dies_ok { eval 'sub foo(%h) { %h }; foo(1, 2); 1' },
"Passing two arguments to a function expecting one hash is an error";

Expand Down

0 comments on commit f954d29

Please sign in to comment.