Permalink
Browse files

[t/spec] Test suggested by moritz++

git-svn-id: http://svn.pugscode.org/pugs@28936 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information...
1 parent ae01205 commit f0006727cecf95ff3072f1d32dff57133ca285a1 kyle committed Oct 28, 2009
Showing with 2 additions and 0 deletions.
  1. +2 −0 S32-scalar/undef.t
View
@@ -364,6 +364,8 @@ lives_ok { uc(eval("")) }, 'can use eval("") in further expressions';
#?rakudo 2 todo 'subs are eternal too'
dies_ok { undefine &def }, 'attempt to undefine sub dies';
ok defined &def, 'attempt to undefine sub fails';
+ #?rakudo skip 'Rakudo lets me undefine a sub'
+ ok def() ~~ Array, 'can still call sub after attempt to undefine it';
}
done_testing;

0 comments on commit f000672

Please sign in to comment.