View | Details | Raw Unified | Return to bug 22571
Collapse All | Expand All

(-)a/t/SimpleMARC.t (-3 / +2 lines)
Lines 1728-1734 subtest 'field_equals' => sub { Link Here
1728
                field => '008',
1728
                field => '008',
1729
                subfield => '',
1729
                subfield => '',
1730
            });
1730
            });
1731
        is_deeply( $match, [], '008 control field not equal to "Donald"' );
1731
        is_deeply( $match, [], '008 control field not equal to "eng"' );
1732
1732
1733
        $match = Koha::SimpleMARC::field_equals({
1733
        $match = Koha::SimpleMARC::field_equals({
1734
                record => $record,
1734
                record => $record,
Lines 1737-1742 subtest 'field_equals' => sub { Link Here
1737
                subfield => '',
1737
                subfield => '',
1738
                is_regex => 1,
1738
                is_regex => 1,
1739
            });
1739
            });
1740
        is_deeply( $match, [1], 'first 008 control field matches "Donald"' );
1740
        is_deeply( $match, [1], 'first 008 control field matches "eng"' );
1741
    };
1741
    };
1742
};
1742
};
1743
- 

Return to bug 22571