Permalink
Browse files

update test to use working address

  • Loading branch information...
1 parent 9ec8748 commit 287842020d5d5eae1e15815d70658af453230e05 @gray committed Mar 21, 2011
Showing with 4 additions and 5 deletions.
  1. +4 −5 xt/live.t
View
@@ -38,14 +38,13 @@ my $geocoder = Geo::Coder::TomTom->new(
ok($location, 'UTF-8 bytes');
is($location->{country}, 'Germany', 'UTF-8 bytes');
is($location->{houseNumber}, 6, 'UTF-8 bytes: parsed street address');
-}
-{
- my $city = decode('latin1', qq(Schm\xF6ckwitz));
- my $location = $geocoder->geocode("$city, Berlin, Germany");
+
+ my $city = decode('latin1', qq(M\xFCnster));
is(
- $location->{district}, $city,
+ $location->{city}, $city,
'decoded character encoding of response'
);
+
}
done_testing;

0 comments on commit 2878420

Please sign in to comment.