Debian Codegraph @

debian/patches/no_test_data

raw
1 Description: don't run the tests which depend on the non-DFSG free data
2 Origin: vendor
3 Index: trunk/t/01_test.t
4 ===================================================================
5 --- trunk.orig/t/01_test.t 2011-02-05 13:30:14.000000000 +0000
6 +++ trunk/t/01_test.t 2011-02-05 13:31:40.000000000 +0000
7 @@ -55,6 +55,8 @@
8 }
9
10 isa_ok($postcode->location, 'Geo::Postcode::Location', 'location object');
11 +SKIP: {
12 + skip "No postcode database in this distribution", 13;
13 is($postcode->gridn, 497700, 'grid north');
14 is($postcode->gride, 340800, 'grid east');
15 is($postcode->lat, 54.371, 'grid latitude');
16 @@ -86,3 +88,4 @@
17 $hmmm->location_class('Geo::Postcode::Location');
18
19 is($hmmm->gridref, 'SD408977', 'location class mutator');
20 +}