Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

subtest Pair can use any order #4513

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions doc/Type/Test.rakudoc
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ subtest {
=end code

You can also place the description as the first positional argument, or use a
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
useful for subtests with large bodies.

=begin code :preamble<use Test;>
Expand All @@ -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
Expand Down