about summary refs log tree commit homepage
path: root/xt
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2020-09-02 11:04:13 +0000
committerEric Wong <e@80x24.org>2020-09-03 20:11:03 +0000
commit73e3a6ed6e95adc67cfa10079f11c28fe3f78517 (patch)
tree46faba429086e37aeef256315da61dfeebe2179f /xt
parentd73d783ab2cf14ba28ca63723223d8c85a68cdd5 (diff)
downloadpublic-inbox-73e3a6ed6e95adc67cfa10079f11c28fe3f78517.tar.gz
use more idiomatic internal API for ->over access
{over_ro} being a part of the Search object is a historical
oddity which will go away, soon.  Lets start removing its use in
tests and rarely-used helper scripts.
Diffstat (limited to 'xt')
-rw-r--r--xt/perf-threading.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/xt/perf-threading.t b/xt/perf-threading.t
index ae98a5ba..b27c9cbd 100644
--- a/xt/perf-threading.t
+++ b/xt/perf-threading.t
@@ -18,7 +18,7 @@ require PublicInbox::View;
 
 my $msgs;
 my $elapsed = timeit(1, sub {
-        $msgs = $srch->{over_ro}->recent({limit => 200000});
+        $msgs = $ibx->over->recent({limit => 200000});
 });
 my $n = scalar(@$msgs);
 ok($n, 'got some messages');