Permalink
Browse files

fixed testing issue.

  • Loading branch information...
1 parent 8ca49da commit c820d7c66de07c8d0e4a3d662b01d8c50239b9b2 @tokuhirom committed Oct 19, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 t/02_unicode.t
View
@@ -16,14 +16,14 @@ xxx('softbank', '', ''); # unmapped
subtest 'iphone' => sub {
my $ma = HTTP::MobileAgent->new('Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1C28 Safari/419.3');
- is(HTML::Pictogram::MobileJp->convert($ma, ''), '');
+ is(HTML::Pictogram::MobileJp::Unicode->convert($ma, ''), '');
};
done_testing;
sub xxx {
my ($type, $html, $expected) = @_;
my $ma = HTTP::MobileAgent->new(test_mobile_agent_headers($type));
- is(HTML::Pictogram::MobileJp::Unicode->convert($ma, $html), $expected);
+ is(HTML::Pictogram::MobileJp::Unicode->convert($ma, $html), $expected, $type);
}

0 comments on commit c820d7c

Please sign in to comment.