Skip to content

Commit

Permalink
update test to use working address
Browse files Browse the repository at this point in the history
  • Loading branch information
gray committed Mar 21, 2011
1 parent 9ec8748 commit 2878420
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions xt/live.t
Expand Up @@ -38,14 +38,13 @@ my $geocoder = Geo::Coder::TomTom->new(
ok($location, 'UTF-8 bytes'); ok($location, 'UTF-8 bytes');
is($location->{country}, 'Germany', 'UTF-8 bytes'); is($location->{country}, 'Germany', 'UTF-8 bytes');
is($location->{houseNumber}, 6, 'UTF-8 bytes: parsed street address'); is($location->{houseNumber}, 6, 'UTF-8 bytes: parsed street address');
}
{ my $city = decode('latin1', qq(M\xFCnster));
my $city = decode('latin1', qq(Schm\xF6ckwitz));
my $location = $geocoder->geocode("$city, Berlin, Germany");
is( is(
$location->{district}, $city, $location->{city}, $city,
'decoded character encoding of response' 'decoded character encoding of response'
); );

} }


done_testing; done_testing;

0 comments on commit 2878420

Please sign in to comment.