File: 241_vatican-city.t

package info (click to toggle)
libregexp-common-perl 2017060201-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,320 kB
  • sloc: perl: 17,868; makefile: 2
file content (40 lines) | stat: -rwxr-xr-x 608 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/usr/bin/perl

use strict;
use warnings;
no  warnings 'syntax';

use lib ".";

use Regexp::Common;
use Test::More;
use t::zip::Zip;

my $r = eval "require Test::Regexp; 1";

unless ($r) {
    print "1..0 # SKIP Test::Regexp not found\n";
    exit;
}


test_zips country         =>  "Vatican City",
          name            =>  "Vatican City zip codes",
          prefix          => {
              iso         =>  "VA",
              cept        =>  "VA",
              invalid     =>  "CH",
          },
          prefix_test_set => [],
;


done_testing;


sub valid_zip_codes {
    "00120",
}


__END__