Skip to content
Browse files

[t/spec] Test for RT 70267: {nextsame}()

git-svn-id: http://svn.pugscode.org/pugs@29079 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information...
1 parent 019e876 commit ea4ad2a35e6a471bc3421a687aa8c58c1432e210 kyle committed
Showing with 6 additions and 1 deletion.
  1. +6 −1 S06-advanced_subroutine_features/wrap.t
View
7 S06-advanced_subroutine_features/wrap.t
@@ -11,7 +11,7 @@ use Test;
# mutating wraps -- those should be "deep", as in not touching coderefs
# but actually mutating how the coderef works.
-plan 60;
+plan *;
my @log;
@@ -166,4 +166,9 @@ is( functionA(), "xz", "First wrapper and final function only, middle removed."
is( functionB, 'xxx', "Wrap is now out of scope, should be back to normal." );
}
+#?rakudo todo 'RT 70267: call to nextsame with nowhere to go'
+dies_ok { {nextsame}() }, '{nextsame}() dies properly';
+
+done_testing;
+
# vim: ft=perl6

0 comments on commit ea4ad2a

Please sign in to comment.
Something went wrong with that request. Please try again.