Skip to content

Commit 50b9ecc

Browse files
authored
Update tutorial-english.html
1 parent 59f85ba commit 50b9ecc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/tutorial-english.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -590,10 +590,10 @@ <h4>step 2) first test</h4>
590590
diag( "Testing Range::Validator $Range::Validator::VERSION, Perl $], $^X" );
591591

592592
</pre>
593-
This perl program use strict and wanrings (you already know they are friends, do you?) then load the core module ?Test::More? which generally
593+
This perl program use strict and wanrings (you already know they are friends, do you?) then load the core module <a href="https://perldoc.perl.org/Test/More.html">Test::More</a> which generally
594594
requires that you declare how many tests you intend to run ( <code>plan tests => 1</code> ) then inside the <code>BEGIN</code> block use its method <code>use_ok</code> that loads our own module and in case of failure print "Bail out!\n" aka "everything went wrong, leave the boat".
595595

596-
If the above succeeded ?Test::More? calls <code>diag</code> that emits a note with the text specified, useful to have while reviewing test output. The module also has the <code>note</code> method that I prefer. Go to the module documentation to have an idea of ?Test::More?
596+
If the above succeeded <a href="https://perldoc.perl.org/Test/More.html">Test::More</a> calls <code>diag</code> that emits a note with the text specified, useful to have while reviewing test output. The module also has the <code>note</code> method that I prefer. Go to the module documentation to have an idea of <a href="https://perldoc.perl.org/Test/More.html">Test::More</a>
597597

598598
So, instead of the one liner we can safely call this test:
599599

0 commit comments

Comments
 (0)