X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fconfig.t;h=88ed62a4c05f55e509f96e6fff846a3f29691ab0;hb=f76f265a851944b5dedcc3be5f3b5224b6ebda89;hp=cb5ccee2559554fd10865da07c77a6a63959ddd8;hpb=0bce6aa8226a955208d45c418adf9e0ac5ee8aa5;p=public-inbox.git diff --git a/t/config.t b/t/config.t index cb5ccee2..88ed62a4 100644 --- a/t/config.t +++ b/t/config.t @@ -1,4 +1,4 @@ -# Copyright (C) 2014, Eric Wong and all contributors +# Copyright (C) 2014-2015 all contributors # License: AGPLv3 or later (https://www.gnu.org/licenses/agpl-3.0.txt) use strict; use warnings; @@ -25,12 +25,11 @@ my $tmpdir = tempdir(CLEANUP => 1); ok(-r $f, "$f is readable"); my $cfg = PublicInbox::Config->new($f); - 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', + is_deeply($cfg->lookup('meta@public-inbox.org'), { + 'mainrepo' => '/home/pi/meta-main.git', + 'address' => 'meta@public-inbox.org', + -primary_address => 'meta@public-inbox.org', + 'listname' => 'meta', }, "lookup matches expected output"); is($cfg->lookup('blah@example.com'), undef, @@ -43,7 +42,6 @@ my $tmpdir = tempdir(CLEANUP => 1); 'test@public-inbox.org'], -primary_address => 'try@public-inbox.org', 'mainrepo' => '/home/pi/test-main.git', - 'description' => 'test/sandbox area, occasionally reset', 'listname' => 'test', }, "lookup matches expected output for test"); }