We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 515f2bd commit 21340ebCopy full SHA for 21340eb
doc/Type/Test.rakudoc
@@ -648,7 +648,7 @@ subtest {
648
=end code
649
650
You can also place the description as the first positional argument, or use a
651
-L<C<Pair>|/type/Pair> with description as the key and subtest's code as the value. This can be
+L<C<Pair>|/type/Pair> with description and code in any order. This can be
652
useful for subtests with large bodies.
653
654
=begin code :preamble<use Test;>
@@ -658,11 +658,11 @@ subtest 'A bunch of tests', {
658
...
659
}
660
661
-subtest 'Another bunch of tests' => {
+subtest {
662
plan 72;
663
664
665
-}
+} => 'Another bunch of tests'
666
667
668
=head2 sub todo
0 commit comments