diff options
author | Eric Wong <e@80x24.org> | 2020-09-02 11:04:12 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2020-09-03 20:11:03 +0000 |
commit | d73d783ab2cf14ba28ca63723223d8c85a68cdd5 (patch) | |
tree | a158a5b64bdd19ab7a42096f9e0732d076f8591f /t/search.t | |
parent | 2b52961cb0e77fc1645cc91318e3518f883313a3 (diff) | |
download | public-inbox-d73d783ab2cf14ba28ca63723223d8c85a68cdd5.tar.gz |
We'll use {oidx} as the common field name for the read-write OverIdx, here, to disambiguate it from the read-only {over} field. This hopefully makes it clearer which code paths are read-only and which are read-write.
Diffstat (limited to 't/search.t')
-rw-r--r-- | t/search.t | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -161,7 +161,7 @@ are real EOF my $ghost_id = $rw->add_message($was_ghost); is($ghost_id, int($ghost_id), "ghost_id is an integer: $ghost_id"); - my $msgs = $rw->{over}->get_thread('ghost-message@s'); + my $msgs = $rw->{oidx}->get_thread('ghost-message@s'); is(scalar(@$msgs), 2, 'got both messages in ghost thread'); foreach (qw(sid tid)) { is($msgs->[0]->{$_}, $msgs->[1]->{$_}, "{$_} match"); |