Help for this page

Select Code to Download


  1. or download this
    use Test::More tests => 2;
    ok 1, '1 is True';
    ok 0, '0 is also True'; # will fail
    
  2. or download this
    1..2
    ok 1 - 1 is True
    ...
    #   Failed test '0 is also True'
    #   at foo.t line 3.
    # Looks like you failed 1 test of 2.