]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/psgi_text.t
config: support "inboxdir" in addition to "mainrepo"
[public-inbox.git] / t / psgi_text.t
index 944a647637ba011140808c19c1de5650833dd1d6..da7c6f57ba6a49d8db34917a43e9dc480b032e48 100644 (file)
@@ -23,7 +23,7 @@ use_ok 'PublicInbox::WwwText';
 use Plack::Builder;
 my $config = PublicInbox::Config->new(\<<EOF);
 $cfgpfx.address=$addr
-$cfgpfx.mainrepo=$maindir
+$cfgpfx.inboxdir=$maindir
 EOF
 is(0, system(qw(git init -q --bare), $maindir), "git init (main)");
 my $www = PublicInbox::WWW->new($config);