projects
/
catagits/Test-WWW-Mechanize-Catalyst.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
532f270
)
Dont test against the bit of the error message that gets localized
Ash Berlin [Wed, 18 Feb 2009 09:40:14 +0000 (09:40 +0000)]
t/multi_content_type.t
patch
|
blob
|
blame
|
history
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;
}
}