Skip to content

Commit ffdd098

Browse files
committed
Adds no-break space closes #2847
1 parent b24a050 commit ffdd098

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

doc/Language/testing.pod6

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,15 @@ code works as expected.
1212
In Perl 6, the L<Test|/type/Test> module provides a testing framework, used also
1313
by Perl 6's official spectest suite.
1414
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:
1618
1719
=for code :preamble<use Test; my ($meta,$relaxed-name); sub check-name($meta,:$relaxed-name){}>
1820
ok check-name($meta, :$relaxed-name), "name has a hyphen rather than '::'"
1921
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:
2124
2225
=begin code :preamble<use Test; my ($meta,$relaxed-name); sub check-name($meta,:$relaxed-name){}>
2326
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:
8386
$ prove6 --lib t/
8487
8588
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
8790
distribution path, it is an equivalent of C<-Ilib> argument of
8891
C<perl6> command.
8992

0 commit comments

Comments
 (0)