Commit b2db8fc6 authored by Alex Vandiver's avatar Alex Vandiver
Browse files

Tests: WWW::Mechanize correctly returns characters now

While there ay have been bugs surrounding encodings in LWP or
WWW::Mechanize previously, the ->content method correctly returns
characters and not bytes for all modern versions.  Remove the explicit
adjustment.
parent fb58e26e
......@@ -13,7 +13,6 @@ $m->content_contains('<html lang="en">');
$m->add_header('Accept-Language' => 'zh-tw,zh;q=0.8,en-gb;q=0.5,en;q=0.3');
$m->get_ok('/');
Encode::_utf8_on($m->{content});
$m->title_is( Encode::decode("UTF-8",'登入'),
'Page title properly translated to chinese');
$m->content_contains( Encode::decode("UTF-8",'密碼'),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment