Skip to content

Commit 8596adb

Browse files
committed
remove trailing ws
1 parent 20d109d commit 8596adb

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

doc/Language/testing.pod6

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -185,11 +185,11 @@ with a valid C<plan> function when all tests are finalized. Use of C<plan> can h
185185
detect test failures otherwise not reported because tests were accidentally skipped
186186
due to bugs in the tests or bugs in the compiler. For example:
187187
188-
sub do-stuff {@};
189-
use Test;
188+
sub do-stuff {@};
189+
use Test;
190190
ok .is-prime for do-stuff;
191191
done-testing;
192-
192+
193193
# output:
194194
1..0
195195
@@ -199,16 +199,16 @@ the test suite doesn't know how many tests were meant to be run, so it passes.
199199
200200
Adding C<plan> gives a true picture of the test:
201201
202-
sub do-stuff {@};
202+
sub do-stuff {@};
203203
use Test;
204204
plan 1;
205205
ok .is-prime for do-stuff;
206-
206+
207207
# output:
208208
1..1
209209
# Looks like you planned 1 test, but ran 0
210210
211-
Note that leaving the C<done-testing> in place will have no effect on the new test
211+
Note that leaving the C<done-testing> in place will have no effect on the new test
212212
results, but it should be removed for clarity.
213213
214214
=head1 Testing return values

0 commit comments

Comments
 (0)