diff options
Diffstat (limited to 't')
-rw-r--r-- | t/extsearch.t | 2 | ||||
-rw-r--r-- | t/over.t | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/t/extsearch.t b/t/extsearch.t index 896e2704..1b6235ba 100644 --- a/t/extsearch.t +++ b/t/extsearch.t @@ -375,7 +375,7 @@ if ('reindex catches content bifurcation') { is($oidx->max, $oldmax, 'oidx->max unchanged'); $oidx->dbh_close; ok(run_script([qw(-extindex --reindex --all), "$home/extindex"], - undef, $opt), 'extindex --reindex'); + undef, $opt), 'extindex --reindex') or diag explain($opt); $oidx->dbh; ok($oidx->max > $oldmax, 'oidx->max bumped'); like($err, qr/split into 2 due to deduplication change/, @@ -90,8 +90,9 @@ $over->eidx_prep; 'example.kee:2018:deadbeefcafe' ], 'xref3 works forw two'); - @arg = qw(1349 adeadba7cafe example.key); - is($over->remove_xref3(@arg), 1, 'remove first'); + is($over->dbh->do(<<''), 1, 'remove first'); +DELETE FROM xref3 WHERE xnum = 2019 AND docid = 1349 + $xref3 = $over->get_xref3(1349); is_deeply($xref3, [ 'example.kee:2018:deadbeefcafe' ], 'confirm removal successful'); |