about summary refs log tree commit homepage
path: root/t/config.t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2014-04-12 09:59:41 +0000
committerEric Wong <e@80x24.org>2014-04-14 08:21:35 +0000
commit0bce6aa8226a955208d45c418adf9e0ac5ee8aa5 (patch)
treeaa4616b3f419e8da0879ba582cae4a9f18d84919 /t/config.t
parent6e517aa6dc310ec14c7f2e7cf5479d77f1be5069 (diff)
downloadpublic-inbox-0bce6aa8226a955208d45c418adf9e0ac5ee8aa5.tar.gz
This may be useful for generating List-Id headers and HTML pages.
Diffstat (limited to 't/config.t')
-rw-r--r--t/config.t2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/config.t b/t/config.t
index cd61fe09..cb5ccee2 100644
--- a/t/config.t
+++ b/t/config.t
@@ -28,6 +28,7 @@ my $tmpdir = tempdir(CLEANUP => 1);
         is_deeply($cfg->lookup('bugs@public-inbox.org'), {
                 'mainrepo' => '/home/pi/bugs-main.git',
                 'address' => 'bugs@public-inbox.org',
+                -primary_address => 'bugs@public-inbox.org',
                 'description' => 'development discussion',
                 'listname' => 'bugs',
         }, "lookup matches expected output");
@@ -40,6 +41,7 @@ my $tmpdir = tempdir(CLEANUP => 1);
                 'address' => ['try@public-inbox.org',
                               'sandbox@public-inbox.org',
                               'test@public-inbox.org'],
+                -primary_address => 'try@public-inbox.org',
                 'mainrepo' => '/home/pi/test-main.git',
                 'description' => 'test/sandbox area, occasionally reset',
                 'listname' => 'test',