375 |
_set_rec( $rec2 ); |
_set_rec( $rec2 ); |
376 |
|
|
377 |
test_s(qq{ |
test_s(qq{ |
378 |
tag('Title', |
search_display('Title', |
379 |
rec('200','a') |
rec('200','a') |
380 |
); |
); |
381 |
}); |
}); |
382 |
test_s(qq{ |
test_s(qq{ |
383 |
tag('Who', |
search_display('Who', |
384 |
join_with(" ", |
join_with(" ", |
385 |
rec('702','a'), |
rec('702','a'), |
386 |
rec('702','b') |
rec('702','b') |
431 |
test_check_ds('display'); |
test_check_ds('display'); |
432 |
|
|
433 |
_clean_ds(); |
_clean_ds(); |
434 |
test_s(qq{ tag('something', '42'); }); |
test_s(qq{ search_display('something', '42'); }); |
435 |
test_s(qq{ tag('empty', ''); }); |
test_s(qq{ search_display('empty', ''); }); |
436 |
test_check_ds('search'); |
test_check_ds('search'); |
437 |
test_check_ds('display'); |
test_check_ds('display'); |
438 |
|
|
460 |
is_deeply( $ds, { |
is_deeply( $ds, { |
461 |
'mixed' => { |
'mixed' => { |
462 |
'search' => [ '200a', '200b' ], |
'search' => [ '200a', '200b' ], |
|
'tag' => 'mixed' |
|
463 |
} |
} |
464 |
}, 'correct get_ds'); |
}, 'correct get_ds'); |
465 |
|
|
483 |
is_deeply( $ds, { |
is_deeply( $ds, { |
484 |
'mixed' => { |
'mixed' => { |
485 |
'search' => [ '200a', '200-solo' ], |
'search' => [ '200a', '200-solo' ], |
|
'tag' => 'mixed' |
|
486 |
} |
} |
487 |
}, 'correct get_ds'); |
}, 'correct get_ds'); |
488 |
|
|