Lines 35-41
subtest "MARC21 tests" => sub {
Link Here
|
35 |
ok(!C4::Heading::valid_heading_subfield('100', 'e'), '100e not valid for bib'); |
35 |
ok(!C4::Heading::valid_heading_subfield('100', 'e'), '100e not valid for bib'); |
36 |
|
36 |
|
37 |
ok(C4::Heading::valid_heading_subfield('100', 'a', 1), '100a valid for authority'); |
37 |
ok(C4::Heading::valid_heading_subfield('100', 'a', 1), '100a valid for authority'); |
38 |
ok(!C4::Heading::valid_heading_subfield('100', 'e', 1), '100e not valid for authority'); |
38 |
ok(C4::Heading::valid_heading_subfield('100', 'e', 1), '100e valid for authority'); |
39 |
|
39 |
|
40 |
ok(C4::Heading::valid_heading_subfield('110', 'a'), '110a valid for bib'); |
40 |
ok(C4::Heading::valid_heading_subfield('110', 'a'), '110a valid for bib'); |
41 |
ok(!C4::Heading::valid_heading_subfield('110', 'e'), '110e not valid for bib'); |
41 |
ok(!C4::Heading::valid_heading_subfield('110', 'e'), '110e not valid for bib'); |
42 |
- |
|
|