Skip to content

Commit

Permalink
Fix test count in t/googleplaces.t
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Jan 26, 2024
1 parent 1d94106 commit ccd02d5
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
8 changes: 5 additions & 3 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ image:
environment:
PERL5LIB: /home/appveyor/perl5/lib/perl5
AUTOMATED_TESTING: 1
# TEST_VERBOSE: 1
DEBIAN_FRONTEND: noninteractive
PERL_MM_USE_DEFAULT: 1
NO_NETWORK_TESTING: 1
Expand All @@ -27,14 +28,15 @@ install:
- cmd: if not exist "C:\strawberry" cinst StrawberryPerl --allow-empty-checksums
- cmd: path C:\strawberry\perl\bin;C:\strawberry\perl\site\bin;C:\strawberry\c\bin;%PATH%
# - cmd: cd C:\projects\%APPVEYOR_PROJECT_NAME%
- sh: sudo apt-get update -q -y
- sh: sudo DEBIAN_FRONTEND=noninteractive apt-get install -q -y --force-yes build-essential git libssl-dev perl
# Currently fails on http://apt.postgresql.org/pub/repos/apt bionic-pgdg Release
# - sh: sudo apt update -q -y
- sh: sudo DEBIAN_FRONTEND=noninteractive apt install -q -y --force-yes build-essential git libssl-dev perl
- sh: export PATH=/home/appveyor/perl5/bin:$PATH
- perl -V
- cmd: mkdir %APPVEYOR_BUILD_FOLDER%\tmp
- cmd: set TMPDIR=%APPVEYOR_BUILD_FOLDER%\tmp
- cpan App::cpanminus
- cmd: cpanm -q --showdeps --with-develop --with-suggests . | findstr /v "^perl\>" | cpanm -n
- cmd: cpanm -q --showdeps --with-develop --with-suggests . | findstr /v "^perl\>" | cpanm -qin --skip-satisfied
- cpanm -qin --skip-satisfied --installdeps .
- cmd: 'echo End install at: & time /t'

Expand Down
3 changes: 3 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
Revision history for Geo-Coder-List

0.33
Fix test count in t/googleplaces.t

0.32 Sat Oct 7 10:07:45 EDT 2023
Set "geocoder" to "cached" when the values have been retrieved from the L2 cache

Expand Down
2 changes: 1 addition & 1 deletion t/free.t
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ FREE: {
$location = $geo_coder_list->geocode(location => 'Margate, Kent, England');
ok(defined($location));
cmp_deeply($location,
methods('lat' => num(51.38, 1e-2), 'long' => num(1.38, 1e-2)));
methods('lat' => num(51.38, 1e-2), 'long' => num(1.38, 1e-1)));
} else {
SKIP: {
skip('Set OPENADDR_HOME to enable extra tests', 2);
Expand Down
2 changes: 1 addition & 1 deletion t/googleplaces.t
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ GOOGLEPLACES: {
ok(!defined($geocoderlist->geocode('')));
} else {
diag('Set GMAP_KEY to enable more tests');
skip 'GMAP_KEY not set', 16;
skip 'GMAP_KEY not set', 14;
}
}
}

0 comments on commit ccd02d5

Please sign in to comment.