diff --git a/doc/Type/Test.rakudoc b/doc/Type/Test.rakudoc index b6913c0be..a5dac2daf 100644 --- a/doc/Type/Test.rakudoc +++ b/doc/Type/Test.rakudoc @@ -648,7 +648,7 @@ subtest { =end code You can also place the description as the first positional argument, or use a -L|/type/Pair> with description as the key and subtest's code as the value. This can be +L|/type/Pair> with description and code in any order. This can be useful for subtests with large bodies. =begin code :preamble @@ -658,11 +658,11 @@ subtest 'A bunch of tests', { ... } -subtest 'Another bunch of tests' => { +subtest { plan 72; ... ... -} +} => 'Another bunch of tests' =end code =head2 sub todo