diff --git a/t/whosonfirst.t b/t/whosonfirst.t index 4bd0f7d..9427d37 100644 --- a/t/whosonfirst.t +++ b/t/whosonfirst.t @@ -39,11 +39,11 @@ WHOSONFIRST: { local $TODO = 'UK only supports towns and venues'; $location = $geocoder->geocode(location => 'Summerfield Road, Margate, Kent, England'); - ok(ref($location) eq 'HASH'); + is(ref($location), 'HASH'); # delta_within($location->{latitude}, 51.38, 1e-2); # delta_within($location->{longitude}, 1.36, 1e-2); $location = $geocoder->geocode(location => '7 Summerfield Road, Margate, Kent, England'); - ok(ref($location) eq 'HASH'); + is(ref($location), 'HASH'); # delta_within($location->{latitude}, 51.38, 1e-2); # delta_within($location->{longitude}, 1.36, 1e-2); }