openbsd-ports/devel/p5-Test-WWW-Mechanize/patches/patch-t_content_lacks_t
sthen 7b045135da Update devel/p5-Test-WWW-Mechanize to version 1.30. Adapt a test to
WWW::Mechanize 1.70.  Required by the recent www/p5-WWW-Mechanize update
as well as the Catalyst update.

More recent versions of Test::WWW::Mechanize depend on LWP 6.02, which
hasn't hit OpenBSD's ports tree yet.

From Andreas Voegele's repo.
2012-04-07 20:04:39 +00:00

13 lines
602 B
Plaintext

$OpenBSD: patch-t_content_lacks_t,v 1.1 2012/04/07 20:04:39 sthen Exp $
--- t/content_lacks.t.orig Mon Apr 5 07:49:01 2010
+++ t/content_lacks.t Tue Oct 25 14:23:31 2011
@@ -35,7 +35,7 @@ test_out( q{not ok 1 - Shouldn't say it's a test page}
test_fail(+4);
test_diag(q( searched: "<html>\x{0a} <head>\x{0a} <title>Test Page</title>"...) );
test_diag(q( and found: "Test Page") );
-test_diag(q( at position: 33) );
+test_diag(q( at position: 33 (line 3 column 16)) );
$mech->content_lacks( 'Test Page', q{Shouldn't say it's a test page} );
test_test( 'Handles not finding it' );