]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/psgi_search.t
config: we always have {-section_order}
[public-inbox.git] / t / psgi_search.t
index 0c4bdcd1d75c5558f7f15a303fd9cdd0bac0cb01..ab6892bcfc205aa9ffcdbdc5b595350d456ecf0a 100644 (file)
@@ -45,10 +45,10 @@ $im->done;
 PublicInbox::SearchIdx->new($ibx, 1)->index_sync;
 
 my $cfgpfx = "publicinbox.test";
-my $config = PublicInbox::Config->new({
-       "$cfgpfx.address" => 'git@vger.kernel.org',
-       "$cfgpfx.mainrepo" => $tmpdir,
-});
+my $config = PublicInbox::Config->new(\<<EOF);
+$cfgpfx.address=git\@vger.kernel.org
+$cfgpfx.mainrepo=$tmpdir
+EOF
 my $www = PublicInbox::WWW->new($config);
 test_psgi(sub { $www->call(@_) }, sub {
        my ($cb) = @_;