[Catalyst-commits] r9328 - Test-WWW-Mechanize-Catalyst/trunk/t
ash at dev.catalyst.perl.org
ash at dev.catalyst.perl.org
Wed Feb 18 09:40:14 GMT 2009
Author: ash
Date: 2009-02-18 09:40:14 +0000 (Wed, 18 Feb 2009)
New Revision: 9328
Modified:
Test-WWW-Mechanize-Catalyst/trunk/t/multi_content_type.t
Log:
Dont test against the bit of the error message that gets localized
Modified: Test-WWW-Mechanize-Catalyst/trunk/t/multi_content_type.t
===================================================================
--- Test-WWW-Mechanize-Catalyst/trunk/t/multi_content_type.t 2009-02-17 23:39:27 UTC (rev 9327)
+++ Test-WWW-Mechanize-Catalyst/trunk/t/multi_content_type.t 2009-02-18 09:40:14 UTC (rev 9328)
@@ -36,7 +36,7 @@
TRY_CONNECT: {
eval { $m->get('/') };
- if ($@ || $m->content =~ /\(connect: Connection refused\)/) {
+ if ($@ || $m->content =~ /Can't connect to localhost:$PORT/) {
$skip = $@ || $m->content;
}
}
More information about the Catalyst-commits
mailing list