Searched defs:like (Results 1 - 4 of 4) sorted by relevance

/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Test/Simple/t/
H A Dis_deeply.t49 sub like ($$;$) { subroutine
92 like( $err, <<ERR, ' right diagnostic' );
166 like( $err, <<ERR, ' right diagnostic' );
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/
H A Dtest.pl27 print STDERR "# Looks like you planned $planned tests but ran $ran.\n";
84 # DON'T use this for matches. Use like() instead.
237 # Note: this isn't quite as fancy as Test::More::like().
238 sub like ($$@) { subroutine
605 # Combination of run_perl() and like().
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Test/
H A DMore.pm24 is isnt like unlike is_deeply
73 like ($this, qr/that/, $test_name);
304 Will produce something like this:
342 =item B<like>
344 like( $this, qr/that/, $test_name );
346 Similar to ok(), like() matches $this against the regex C<qr/that/>.
350 like($this, qr/that/, 'this is like that');
354 ok( $this =~ /that/, 'this is like that');
356 (Mnemonic "This is like tha
372 sub like ($$;$) { subroutine
[all...]
H A DBuilder.pm165 die "Got an undefined number of tests. Looks like you tried to ".
273 like Test::Simple's ok().
472 =item B<like>
474 $Test->like($this, qr/$regex/, $name);
475 $Test->like($this, '/$regex/', $name);
477 Like Test::More's like(). Checks if $this matches the given $regex.
491 sub like { subroutine
519 For example, a version of like(), sans the useful diagnostic messages,
539 # Check if it looks like '/foo/'
555 $self->diag(" '$regex' doesn't look much like
[all...]

Completed in 25 milliseconds