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 50e1dfd commit 2d943beCopy full SHA for 2d943be
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 the description and the code in either order. This can be
652
useful for subtests with large bodies.
653
654
=begin code :preamble<use Test;>
@@ -658,11 +658,13 @@ 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
669
670
=head2 sub todo
0 commit comments