Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dandv authored and ashb committed Aug 11, 2009
1 parent 7d09518 commit f334809
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/WWW/Mechanize/TreeBuilder.pm
Expand Up @@ -21,11 +21,11 @@ WWW::Mechanize::TreeBuilder
WWW::Mechanize::TreeBuilder->meta->apply($mech);
$mech->get_ok('/');
ok( $mech->look_down(_tag => 'p')->as_trimmed_text eq 'Some text', 'It worked' );
is( $mech->look_down(_tag => 'p')->as_trimmed_text, 'Some text', 'It worked' );
=head1 DESCRIPTION
This module combines WWW::Mechanize and HTML::TreeBuilder. Why? Because I've
This module combines L<WWW::Mechanize> and L<HTML::TreeBuilder>. Why? Because I've
seen too much code like the following:
like($mech->content, qr{<p>some text</p>}, "Found the right tag");
Expand Down

0 comments on commit f334809

Please sign in to comment.