X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2Fencode.t;h=08e9bacade8239b5417363822bdb2e7af0c1aecd;hb=87714904135dbd2ae4657dbe20a531654286994e;hp=4610181a099aa7005855092f4d0e116343d7bcc0;hpb=bf230f3dbf48894b634fb40c321d83be72802a30;p=p5sagit%2Fp5-mst-13.2.git diff --git a/t/lib/encode.t b/t/lib/encode.t index 4610181..08e9bac 100644 --- a/t/lib/encode.t +++ b/t/lib/encode.t @@ -17,7 +17,7 @@ ok(from_to($cpy,'Unicode','iso8859-1'),length($str),"Length wrong"); ok($cpy,$str,"ASCII mangled by translating from Unicode to iso8859-1"); $str = join('',map(chr($_),0xa0..0xff)); -my $cpy = $str; +$cpy = $str; ok(length($str),from_to($cpy,'iso8859-1','Unicode'),"Length Wrong"); my $sym = Encode->getEncoding('symbol');