- or download this
ok ( $foo =~ /bar/, 'contains bar');
ok ( UNIVERSAL::isa($o, 'MyClass'), 'isa MyClass' );
ok( $foo eq 'bar', 'equals bar' );
- or download this
like( $foo, qr/foo/, 'contains bar' );
isa_ok( $o, 'MyClass' );
is( $foo, 'bar', 'equals bar' );
- or download this
is( 'apples', 'oranges', 'expecting to find some oranges' );
- or download this
not ok 1 - expecting to find some oranges
# Failed test (-e at line 1)
# got: 'apples'
# expected: 'oranges'
- or download this
not ok 1 - expecting to find some oranges