about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-05-25 09:42:08 +0000
committerEric Wong <e@80x24.org>2019-05-25 19:01:52 +0000
commit097a367da711ef4bd5260f604d4794dc46c2309b (patch)
treeb5f7fafd8216bdbf9b92cdce91ad6acac0059dbd
parented1125c4866bb078b366c09ff39f2036c36cbff5 (diff)
downloadpublic-inbox-097a367da711ef4bd5260f604d4794dc46c2309b.tar.gz
Don't hard-code "basic", since we already ran -init with the
intended indexlevel.
-rw-r--r--t/indexlevels-mirror.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/indexlevels-mirror.t b/t/indexlevels-mirror.t
index 57a776f7..ce138fee 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');