Help for this page

Select Code to Download


  1. or download this
    use Test::More tests => 3;
    
    ok 1, 'Happy';
    ok 1, 'Cheerful';
    
  2. or download this
    sub is_expected_test_result {
        my $test_result = shift;
    ...
            ! is_unexpected_todo_success( $test_result ) &&
            ! diagnostics( $_ );
    }