Skip to content

Commit

Permalink
Better diagnostics on test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Jan 3, 2020
1 parent 7ddd30e commit 8746753
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/whosonfirst.t
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 8746753

Please sign in to comment.