X-Git-Url: http://git.equinoxoli.org/?p=migration-tools.git;a=blobdiff_plain;f=Equinox-Migration%2Ft%2F03-MapDrivenMARCXMLProc.t;h=bf4bb2ce0b5a54f7472d112ac993d0a6a2ba0dd4;hp=e4a06a86a461bbb7fe3dfc6fdc2fd452fad368e6;hb=ccd3ad3cdb32e053fd6655ea7340466eecf5f0ff;hpb=729d6760bff702074cdf80dbe8172c62805c8343 diff --git a/Equinox-Migration/t/03-MapDrivenMARCXMLProc.t b/Equinox-Migration/t/03-MapDrivenMARCXMLProc.t index e4a06a8..bf4bb2c 100644 --- a/Equinox-Migration/t/03-MapDrivenMARCXMLProc.t +++ b/Equinox-Migration/t/03-MapDrivenMARCXMLProc.t @@ -96,7 +96,7 @@ is ($rec->{tags}[0]{tag}, 999, '250 doesnt exist in this record'); is ($rec->{tags}[0]{uni}{a}, "FIC DEV", 'subfield value 4'); is_deeply ($rec->{tags}[0]{multi}{'x'}, ['FICTION','FICTION2','FICTION3','FICTION4'], '999$x - multi'); -is ($rec->{tmap}{250}, undef, 'tag map test 2a'); +is_deeply ($rec->{tmap}{250}, [1], 'tag map test 2a'); is_deeply ($rec->{tmap}{999}, [0], 'tag map test 2b'); # map-05 is map-04 with a "no digits" filter on 999$x