-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom lint object doesn't get reset between uses #25
Comments
Fixed in 2be1737 and released in Test::WWW::Mechanize 1.42. |
jperkin
pushed a commit
to TritonDataCenter/pkgsrc-legacy
that referenced
this issue
Dec 9, 2013
Changelog: 1.44 Sat Jun 30 20:32:04 CDT 2012 ------------------------------------ There is no new functionality in this release. [FIXES] Fixed test failures on Win32. Thanks, Jerry Gay. 1.42 Thu May 31 11:35:26 CDT 2012 ------------------------------------ If you want to use the autolint functionality, you'll have to have HTML::Lint 2.20. [FIXES] Custom lint objects don't get reset before they get used, making autolint with a custom lint object practically useless. petdance/test-www-mechanize#25 1.40 Fri Apr 13 15:14:39 CDT 2012 ------------------------------------ [ENHANCEMENTS] Added a $mech->autolint() method so you can turn autolinting on and off in mid-program. Thanks, Mike O'Regan. New functions $mech->scrape_text_by_id() and $mech->scrape_text_by_attr() let you extract text from your pages. Convenience function $mech->scraped_id_is() makes it easy to scrape and compare in one function. <h1 id="pagetitle">My Awesome Page!</h1> # Verify that HTML is there with: $mech->scraped_id_is( 'pagetitle', 'My Awesome Page!' ); [FIXES] $mech->has_tag() now handles nested tags more sensibly. This fixes Google Code ticket #1. [INTERNALS] Explicitly requires Test::Simple 0.94 or higher. Brought over t/TestServer.pm from WWW::Mechanize which fixes a number of problems.
jperkin
pushed a commit
to TritonDataCenter/pkgsrc-legacy
that referenced
this issue
Mar 14, 2014
Changelog: 1.44 Sat Jun 30 20:32:04 CDT 2012 ------------------------------------ There is no new functionality in this release. [FIXES] Fixed test failures on Win32. Thanks, Jerry Gay. 1.42 Thu May 31 11:35:26 CDT 2012 ------------------------------------ If you want to use the autolint functionality, you'll have to have HTML::Lint 2.20. [FIXES] Custom lint objects don't get reset before they get used, making autolint with a custom lint object practically useless. petdance/test-www-mechanize#25 1.40 Fri Apr 13 15:14:39 CDT 2012 ------------------------------------ [ENHANCEMENTS] Added a $mech->autolint() method so you can turn autolinting on and off in mid-program. Thanks, Mike O'Regan. New functions $mech->scrape_text_by_id() and $mech->scrape_text_by_attr() let you extract text from your pages. Convenience function $mech->scraped_id_is() makes it easy to scrape and compare in one function. <h1 id="pagetitle">My Awesome Page!</h1> # Verify that HTML is there with: $mech->scraped_id_is( 'pagetitle', 'My Awesome Page!' ); [FIXES] $mech->has_tag() now handles nested tags more sensibly. This fixes Google Code ticket #1. [INTERNALS] Explicitly requires Test::Simple 0.94 or higher. Brought over t/TestServer.pm from WWW::Mechanize which fixes a number of problems.
jsonn
pushed a commit
to jsonn/pkgsrc
that referenced
this issue
Oct 11, 2014
Changelog: 1.44 Sat Jun 30 20:32:04 CDT 2012 ------------------------------------ There is no new functionality in this release. [FIXES] Fixed test failures on Win32. Thanks, Jerry Gay. 1.42 Thu May 31 11:35:26 CDT 2012 ------------------------------------ If you want to use the autolint functionality, you'll have to have HTML::Lint 2.20. [FIXES] Custom lint objects don't get reset before they get used, making autolint with a custom lint object practically useless. petdance/test-www-mechanize#25 1.40 Fri Apr 13 15:14:39 CDT 2012 ------------------------------------ [ENHANCEMENTS] Added a $mech->autolint() method so you can turn autolinting on and off in mid-program. Thanks, Mike O'Regan. New functions $mech->scrape_text_by_id() and $mech->scrape_text_by_attr() let you extract text from your pages. Convenience function $mech->scraped_id_is() makes it easy to scrape and compare in one function. <h1 id="pagetitle">My Awesome Page!</h1> # Verify that HTML is there with: $mech->scraped_id_is( 'pagetitle', 'My Awesome Page!' ); [FIXES] $mech->has_tag() now handles nested tags more sensibly. This fixes Google Code ticket #1. [INTERNALS] Explicitly requires Test::Simple 0.94 or higher. Brought over t/TestServer.pm from WWW::Mechanize which fixes a number of problems.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If the user passes in a custom HTML::Lint object, it doesn't get reset between uses, so the first autolint will work, but subsequent uses get errors like:
The text was updated successfully, but these errors were encountered: