Skip to content

Commit 685eb9b

Browse files
authored
Update tutorial-english.html
1 parent 50b9ecc commit 685eb9b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/tutorial-english.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ <h4>step 2) first test</h4>
636636
Result: PASS
637637

638638
</pre>
639-
Basically the output includes some statistics and the count of test files processed and the overall number of tests. Also note that the message emitted by <code>diag</code> is in another place: diagnostics by ?Test::More? goes to <code>STDERR</code> (which is buffered differently in respect of <code>STDOUT</code> but this is another story..) and TAP aggregates tests results and prints them to <code>STDOUT</code>
639+
Basically the output includes some statistics and the count of test files processed and the overall number of tests. Also note that the message emitted by <code>diag</code> is in another place: diagnostics by <a href="https://perldoc.perl.org/Test/More.html">Test::More</a> goes to <code>STDERR</code> (which is buffered differently in respect of <code>STDOUT</code> but this is another story..) and TAP aggregates tests results and prints them to <code>STDOUT</code>
640640

641641
Finally we have the developer gratification: <code>Result: PASS</code> indicating all went well.
642642

@@ -838,11 +838,11 @@ <h4>step 2) testing on our own</h4>
838838
"expected to die with invalid character";
839839

840840
</pre>
841-
First of all we used a different notation for ?Test::More? ie. <code>use Test::More qw(no_plan)</code>
841+
First of all we used a different notation for <a href="https://perldoc.perl.org/Test/More.html">Test::More</a> ie. <code>use Test::More qw(no_plan)</code>
842842

843843
We are telling to the module we (still) have not a plan about how many tests will be in this file. This is a handy feature.
844844

845-
The ?Test::More? core module offers us <code>ok</code> <code>use_ok</code> and <code>note</code> methods: view the module doc for more info about them.
845+
The <a href="https://perldoc.perl.org/Test/More.html">Test::More</a> core module offers us <code>ok</code> <code>use_ok</code> and <code>note</code> methods: view the module doc for more info about them.
846846

847847
But we also used in the above test the <code>dies_ok</code> function: this one comes from the CPAN module <code>Test::Exception</code> and we need to add this module in to our dependencies list.
848848

0 commit comments

Comments
 (0)