update test case
authorGalen Charlton <gmc@esilibrary.com>
Thu, 6 May 2010 18:12:35 +0000 (14:12 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Thu, 6 May 2010 18:12:35 +0000 (14:12 -0400)
Thanks to Sue Hopkins for the catch.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>

Equinox-Migration/t/03-MapDrivenMARCXMLProc.t

index e4a06a8..bf4bb2c 100644 (file)
@@ -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