projects
/
catagits/Test-WWW-Mechanize-Catalyst.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Dont test against the bit of the error message that gets localized
[catagits/Test-WWW-Mechanize-Catalyst.git]
/
t
/
multi_content_type.t
diff --git
a/t/multi_content_type.t
b/t/multi_content_type.t
index
af30861
..
71ac228
100644
(file)
--- a/
t/multi_content_type.t
+++ b/
t/multi_content_type.t
@@
-36,7
+36,7
@@
my $skip = 0;
TRY_CONNECT: {
eval { $m->get('/') };
- if ($@ || $m->content =~ /\(connect: Connection refused\)/) {
+ if ($@ || $m->content =~ /Can't connect to localhost:$PORT/) {
$skip = $@ || $m->content;
}
}