]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/config.t
config: support multi-value inbox.*.*url
[public-inbox.git] / t / config.t
index db3f9b2aa5ec6c6873ce7c7953db58a06e838ab8..1ec864b471d4f39de3471a6b62a04dde03d78660 100644 (file)
@@ -27,7 +27,7 @@ my ($tmpdir, $for_destroy) = tmpdir();
                'inboxdir' => '/home/pi/meta-main.git',
                'address' => [ 'meta@public-inbox.org' ],
                'domain' => 'public-inbox.org',
-               'url' => 'http://example.com/meta',
+               'url' => [ 'http://example.com/meta' ],
                -primary_address => 'meta@public-inbox.org',
                'name' => 'meta',
                feedmax => 25,
@@ -48,7 +48,7 @@ my ($tmpdir, $for_destroy) = tmpdir();
                'domain' => 'public-inbox.org',
                'name' => 'test',
                feedmax => 25,
-               'url' => 'http://example.com/test',
+               'url' => [ 'http://example.com/test' ],
                -httpbackend_limiter => undef,
                nntpserver => undef,
        }, "lookup matches expected output for test");