projects
/
migration-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
729d676
)
update test case
author
Galen Charlton
<gmc@esilibrary.com>
Thu, 6 May 2010 18:12:35 +0000 (14:12 -0400)
committer
Galen 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
patch
|
blob
|
history
diff --git
a/Equinox-Migration/t/03-MapDrivenMARCXMLProc.t
b/Equinox-Migration/t/03-MapDrivenMARCXMLProc.t
index
e4a06a8
..
bf4bb2c
100644
(file)
--- 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