Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit f0006727cecf95ff3072f1d32dff57133ca285a1 1 parent ae01205
kyle authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  S32-scalar/undef.t
View
2  S32-scalar/undef.t
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.