From b575f2c8eb223cd95d8008656b127428b570bee0 Mon Sep 17 00:00:00 2001 From: Nigel Horne Date: Wed, 3 Jul 2024 13:02:53 -0400 Subject: [PATCH] Needs CGI::Carp --- Makefile.PL | 1 + t/openaddr.t | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.PL b/Makefile.PL index 07b41c10..ee7635a5 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -286,6 +286,7 @@ my $test_requires = { if($ENV{'AUTHOR_TESTING'}) { $test_requires->{'CGI::ACL'} = 0; + $test_requires->{'CGI::Carp'} = 0; $test_requires->{'FCGI'} = 0; $test_requires->{'FCGI::Buffer'} = 0; $test_requires->{'HTML::SocialMedia'} = 0; diff --git a/t/openaddr.t b/t/openaddr.t index 0cffc1fd..515bd2dd 100644 --- a/t/openaddr.t +++ b/t/openaddr.t @@ -33,7 +33,7 @@ OPENADDR: { $location = $geo_coder->geocode('Indiana, USA'); cmp_deeply($location, - methods('lat' => num(39, 1), 'long' => num(-86, 1))); + methods('lat' => num(39.5, 1), 'long' => num(-86, 1))); $location = $geo_coder->geocode('Indianapolis, Indiana, USA'); ok(defined($location));