Don't hard-code "basic", since we already ran -init with the
intended indexlevel.
---
 t/indexlevels-mirror.t | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/indexlevels-mirror.t b/t/indexlevels-mirror.t
index 57a776f..ce138fe 100644
--- a/t/indexlevels-mirror.t
+++ b/t/indexlevels-mirror.t
@@ -79,7 +79,7 @@ sub import_index_incremental {
        # read-only access
        my $ro_mirror = PublicInbox::Inbox->new({
                mainrepo => $mirror,
-               indexlevel => 'basic'
+               indexlevel => $level,
        });
        ($nr, $msgs) = $ro_mirror->recent;
        is($nr, 1, 'only one message, so far');
-- 
EW

--
unsubscribe: [email protected]
archive: https://public-inbox.org/meta/

Reply via email to