Test::Simple when everything is ok


For the following example we've replaced the failing test with one that is successful. This way you can see how does it look like when everything is ok.


examples/test-simple/tests/t11.pl
use strict;
use warnings;

use FindBin;
use lib "$FindBin::Bin/../lib";
use MySimpleCalc qw(sum);

use Test::Simple tests => 3;

ok( sum(1, 1) == 2 );
ok( sum(2, 2) == 4 );
ok( sum(3, 3) == 6 );

Output:


1..3
ok 1
ok 2
ok 3


$ echo $?
0


> echo %ERRORLEVEL%
0