Skip to content

Commit c62aba8

Browse files
committed
Update test.
1 parent a43a387 commit c62aba8

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

rules/test/tests/065-490.xspec

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,19 @@
1010
<!-- <x:param name="pGenerationDatestamp">19700101</x:param> -->
1111
<!-- <x:param name="pSourceRecordId">http://example.org/test-record</x:param> -->
1212
<!-- <x:param name="pConversionAgency">DLC</x:param> -->
13-
1413
<x:scenario label="MARC 490 - Test 01">
15-
<x:context href="../data/exemplars/raw.text-monograph-series-unmatched490sand830.rdf"/>
16-
<x:expect label="generate 800" test="count(//marc:datafield[@tag='490']) = 2"/>
14+
<x:context href="../data/exemplars/text-monograph-series-matching490and811.rdf"/>
15+
<x:expect label="generate 490" test="count(//marc:datafield[@tag='490']) = 1"/>
1716
<x:expect label="ind1 is 1, because there is a Series 8XX present"
1817
test="//marc:datafield[@tag='490'][1]/@ind1 = '1'"/>
1918
<x:expect label="ind2 default to blank"
2019
test="//marc:datafield[@tag='490'][1]/@ind2 = ' '"/>
2120
<x:expect label="$a from label of agent"
22-
test="//marc:datafield[@tag='490'][1]/marc:subfield[@code='a'] = 'AIP conference proceedings'"/>
21+
test="//marc:datafield[@tag='490'][1]/marc:subfield[@code='a'] = 'Calabar studies in African literature'"/>
22+
<!--
2323
<x:expect label="$v from seriesEnumeration"
2424
test="//marc:datafield[@tag='490'][1]/marc:subfield[@code='v'] = '1592'"/>
25+
-->
2526
</x:scenario>
2627

2728
<x:scenario label="MARC 490 - Test 02">

0 commit comments

Comments
 (0)