BEGIN;
-- country_pass should pass valid countries;
-- ./spec/country_pass_spec.rb:34;
CREATE EXTENSION country;
SELECT NULL::country;
SELECT 'ad'::country;
SELECT 'ae'::country;
SELECT 'af'::country;
SELECT 'ag'::country;
SELECT 'ai'::country;
SELECT 'al'::country;
SELECT 'am'::country;
SELECT 'ao'::country;
SELECT 'aq'::country;
SELECT 'ar'::country;
SELECT 'as'::country;
SELECT 'at'::country;
SELECT 'au'::country;
SELECT 'aw'::country;
SELECT 'ax'::country;
SELECT 'az'::country;
SELECT 'ba'::country;
SELECT 'bb'::country;
SELECT 'bd'::country;
SELECT 'be'::country;
SELECT 'bf'::country;
SELECT 'bg'::country;
SELECT 'bh'::country;
SELECT 'bi'::country;
SELECT 'bj'::country;
SELECT 'bl'::country;
SELECT 'bm'::country;
SELECT 'bn'::country;
SELECT 'bo'::country;
SELECT 'bq'::country;
SELECT 'br'::country;
SELECT 'bs'::country;
SELECT 'bt'::country;
SELECT 'bv'::country;
SELECT 'bw'::country;
SELECT 'by'::country;
SELECT 'bz'::country;
SELECT 'ca'::country;
SELECT 'cc'::country;
SELECT 'cd'::country;
SELECT 'cf'::country;
SELECT 'cg'::country;
SELECT 'ch'::country;
SELECT 'ci'::country;
SELECT 'ck'::country;
SELECT 'cl'::country;
SELECT 'cm'::country;
SELECT 'cn'::country;
SELECT 'co'::country;
SELECT 'cr'::country;
SELECT 'cu'::country;
SELECT 'cv'::country;
SELECT 'cw'::country;
SELECT 'cx'::country;
SELECT 'cy'::country;
SELECT 'cz'::country;
SELECT 'de'::country;
SELECT 'dj'::country;
SELECT 'dk'::country;
SELECT 'dm'::country;
SELECT 'do'::country;
SELECT 'dz'::country;
SELECT 'ec'::country;
SELECT 'ee'::country;
SELECT 'eg'::country;
SELECT 'eh'::country;
SELECT 'er'::country;
SELECT 'es'::country;
SELECT 'et'::country;
SELECT 'fi'::country;
SELECT 'fj'::country;
SELECT 'fk'::country;
SELECT 'fm'::country;
SELECT 'fo'::country;
SELECT 'fr'::country;
SELECT 'ga'::country;
SELECT 'gb'::country;
SELECT 'gd'::country;
SELECT 'ge'::country;
SELECT 'gf'::country;
SELECT 'gg'::country;
SELECT 'gh'::country;
SELECT 'gi'::country;
SELECT 'gl'::country;
SELECT 'gm'::country;
SELECT 'gn'::country;
SELECT 'gp'::country;
SELECT 'gq'::country;
SELECT 'gr'::country;
SELECT 'gs'::country;
SELECT 'gt'::country;
SELECT 'gu'::country;
SELECT 'gw'::country;
SELECT 'gy'::country;
SELECT 'hk'::country;
SELECT 'hm'::country;
SELECT 'hn'::country;
SELECT 'hr'::country;
SELECT 'ht'::country;
SELECT 'hu'::country;
SELECT 'id'::country;
SELECT 'ie'::country;
SELECT 'il'::country;
SELECT 'im'::country;
SELECT 'in'::country;
SELECT 'io'::country;
SELECT 'iq'::country;
SELECT 'ir'::country;
SELECT 'is'::country;
SELECT 'it'::country;
SELECT 'je'::country;
SELECT 'jm'::country;
SELECT 'jo'::country;
SELECT 'jp'::country;
SELECT 'ke'::country;
SELECT 'kg'::country;
SELECT 'kh'::country;
SELECT 'ki'::country;
SELECT 'km'::country;
SELECT 'kn'::country;
SELECT 'kp'::country;
SELECT 'kr'::country;
SELECT 'kw'::country;
SELECT 'ky'::country;
SELECT 'kz'::country;
SELECT 'la'::country;
SELECT 'lb'::country;
SELECT 'lc'::country;
SELECT 'li'::country;
SELECT 'lk'::country;
SELECT 'lr'::country;
SELECT 'ls'::country;
SELECT 'lt'::country;
SELECT 'lu'::country;
SELECT 'lv'::country;
SELECT 'ly'::country;
SELECT 'ma'::country;
SELECT 'mc'::country;
SELECT 'md'::country;
SELECT 'me'::country;
SELECT 'mf'::country;
SELECT 'mg'::country;
SELECT 'mh'::country;
SELECT 'mk'::country;
SELECT 'ml'::country;
SELECT 'mm'::country;
SELECT 'mn'::country;
SELECT 'mo'::country;
SELECT 'mp'::country;
SELECT 'mq'::country;
SELECT 'mr'::country;
SELECT 'ms'::country;
SELECT 'mt'::country;
SELECT 'mu'::country;
SELECT 'mv'::country;
SELECT 'mw'::country;
SELECT 'mx'::country;
SELECT 'my'::country;
SELECT 'mz'::country;
SELECT 'na'::country;
SELECT 'nc'::country;
SELECT 'ne'::country;
SELECT 'nf'::country;
SELECT 'ng'::country;
SELECT 'ni'::country;
SELECT 'nl'::country;
SELECT 'no'::country;
SELECT 'np'::country;
SELECT 'nr'::country;
SELECT 'nu'::country;
SELECT 'nz'::country;
SELECT 'om'::country;
SELECT 'pa'::country;
SELECT 'pe'::country;
SELECT 'pf'::country;
SELECT 'pg'::country;
SELECT 'ph'::country;
SELECT 'pk'::country;
SELECT 'pl'::country;
SELECT 'pm'::country;
SELECT 'pn'::country;
SELECT 'pr'::country;
SELECT 'ps'::country;
SELECT 'pt'::country;
SELECT 'pw'::country;
SELECT 'py'::country;
SELECT 'qa'::country;
SELECT 're'::country;
SELECT 'ro'::country;
SELECT 'rs'::country;
SELECT 'ru'::country;
SELECT 'rw'::country;
SELECT 'sa'::country;
SELECT 'sb'::country;
SELECT 'sc'::country;
SELECT 'sd'::country;
SELECT 'se'::country;
SELECT 'sg'::country;
SELECT 'sh'::country;
SELECT 'si'::country;
SELECT 'sj'::country;
SELECT 'sk'::country;
SELECT 'sl'::country;
SELECT 'sm'::country;
SELECT 'sn'::country;
SELECT 'so'::country;
SELECT 'sr'::country;
SELECT 'ss'::country;
SELECT 'st'::country;
SELECT 'sv'::country;
SELECT 'sx'::country;
SELECT 'sy'::country;
SELECT 'sz'::country;
SELECT 'tc'::country;
SELECT 'td'::country;
SELECT 'tf'::country;
SELECT 'tg'::country;
SELECT 'th'::country;
SELECT 'tj'::country;
SELECT 'tk'::country;
SELECT 'tl'::country;
SELECT 'tm'::country;
SELECT 'tn'::country;
SELECT 'to'::country;
SELECT 'tr'::country;
SELECT 'tt'::country;
SELECT 'tv'::country;
SELECT 'tw'::country;
SELECT 'tz'::country;
SELECT 'ua'::country;
SELECT 'ug'::country;
SELECT 'uk'::country;
SELECT 'um'::country;
SELECT 'us'::country;
SELECT 'uy'::country;
SELECT 'uz'::country;
SELECT 'va'::country;
SELECT 'vc'::country;
SELECT 've'::country;
SELECT 'vg'::country;
SELECT 'vi'::country;
SELECT 'vn'::country;
SELECT 'vu'::country;
SELECT 'wf'::country;
SELECT 'ws'::country;
SELECT 'ye'::country;
SELECT 'yt'::country;
SELECT 'za'::country;
SELECT 'zm'::country;
SELECT 'zw'::country;
SELECT 'zz'::country;
ROLLBACK;
BEGIN;
-- country_pass should throw an error for invalid countries;
-- ./spec/country_pass_spec.rb:40;
CREATE EXTENSION country;
SELECT 'a'::country;
ROLLBACK;
BEGIN;
-- country_pass should throw an error for invalid countries;
-- ./spec/country_pass_spec.rb:44;
CREATE EXTENSION country;
SELECT 'aa'::country;
ROLLBACK;
BEGIN;
-- country_pass should throw an error for invalid countries;
-- ./spec/country_pass_spec.rb:48;
CREATE EXTENSION country;
SELECT 'aaa'::country;
ROLLBACK;
