Skip to content

Commit

Permalink
Confirm Eastbourne is not in the local database
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Nov 13, 2020
1 parent 1a24212 commit 2359170
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion t/local.t
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

use warnings;
use strict;
use Test::Most tests => 75;
use Test::Most tests => 76;
use Test::Number::Delta;
use Test::Carp;
use Test::Deep;
Expand Down Expand Up @@ -75,6 +75,8 @@ LOCAL: {
cmp_deeply($geo_coder->geocode(location => '106 Tothill St, Minster, Thanet, Kent, England'),
methods('lat' => num(51.34, 1e-2), 'long' => num(1.32, 1e-2)));

ok(!defined($geo_coder->geocode('Eastbourne, Sussex, England')));

does_croak(sub {
my $location = $geo_coder->geocode();
});
Expand Down

0 comments on commit 2359170

Please sign in to comment.