@@ -12,12 +12,15 @@ code works as expected.
12
12
In Perl 6, the L < Test|/type/Test > module provides a testing framework, used also
13
13
by Perl 6's official spectest suite.
14
14
15
- The testing functions emit output conforming to the L < Test Anything Protocol|https://testanything.org > . In general, they are used in sink context:
15
+ The testing functions emit output conforming to the
16
+ L < Test Anything Protocol|https://testanything.org > . In general, they are used
17
+ in sink context:
16
18
17
19
= for code :preamble<use Test; my ($meta,$relaxed-name); sub check-name($meta,:$relaxed-name){}>
18
20
ok check-name($meta, :$relaxed-name), "name has a hyphen rather than '::'"
19
21
20
- but all functions also return as a Boolean if the test has been successful or not, which can be used to print a message if the test fails:
22
+ but all functions also return as a Boolean if the test has been successful or
23
+ not, which can be used to print a message if the test fails:
21
24
22
25
= begin code :preamble<use Test; my ($meta,$relaxed-name); sub check-name($meta,:$relaxed-name){}>
23
26
ok check-name($meta, :$relaxed-name), "name has a hyphen rather than '::'" \
@@ -83,7 +86,7 @@ You can run C<prove6> in a distribution directory this way:
83
86
$ prove6 --lib t/
84
87
85
88
The C < t/ > argument specified directory that contains tests and the
86
- C < --lib > option is passed to include C < lib > directory into Perl 6
89
+ C < --lib > option is passed to include C < lib > directory into Perl 6
87
90
distribution path, it is an equivalent of C < -Ilib > argument of
88
91
C < perl6 > command.
89
92
0 commit comments