Skip to content
Permalink
Browse files

Re-instate manwar's first PR

With some more tweaks: using unexpected named parameters on "plan" should
now cause a run time error rather than silently ignoring them.
  • Loading branch information...
lizmat committed Mar 12, 2019
1 parent a804ed0 commit 33e2d7f4cc4c3750e12f338aa03047c6912dd351
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/Test.pm6
@@ -62,6 +62,8 @@ our sub todo_output is rw {
$todo_output
}

proto sub plan ($?, Cool :$skip-all) {*}

multi sub plan (Cool:D :skip-all($reason)!) {
_init_io() unless $output;
$output.say: $indents ~ "1..0 # Skipped: $reason";

0 comments on commit 33e2d7f

Please sign in to comment.
You can’t perform that action at this time.