_set_rec( $rec2 );
test_s(qq{
- tag('Title',
+ search_display('Title',
rec('200','a')
);
});
test_s(qq{
- tag('Who',
+ search_display('Who',
join_with(" ",
rec('702','a'),
rec('702','b')
test_check_ds('display');
_clean_ds();
- test_s(qq{ tag('something', '42'); });
- test_s(qq{ tag('empty', ''); });
+ test_s(qq{ search_display('something', '42'); });
+ test_s(qq{ search_display('empty', ''); });
test_check_ds('search');
test_check_ds('display');
is_deeply( $ds, {
'mixed' => {
'search' => [ '200a', '200b' ],
- 'tag' => 'mixed'
}
}, 'correct get_ds');
is_deeply( $ds, {
'mixed' => {
'search' => [ '200a', '200-solo' ],
- 'tag' => 'mixed'
}
}, 'correct get_ds');