From f850effe0baef8a37ad2eef3ef581b79539cc304 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 14 May 2016 03:02:42 +0000 Subject: rename most instances of "list" to "inbox" A public-inbox is NOT necessarily a mailing list, but it could serve as an input point for zero, one, or infinite mailing lists :D --- t/cgi.t | 2 +- t/config.t | 4 ++-- t/feed.t | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 't') diff --git a/t/cgi.t b/t/cgi.t index fbdbfbf6..9d2d87fe 100644 --- a/t/cgi.t +++ b/t/cgi.t @@ -141,7 +141,7 @@ EOF $idx->{body} = [ split(/\n/, $idx->{body}) ]; $res->{body} = [ split(/\n/, $res->{body}) ]; is_deeply($res, $idx, - '/$LISTNAME/ and /$LISTNAME/index.html are nearly identical'); + '/$INBOX/ and /$INBOX/index.html are nearly identical'); # more checks in t/feed.t } diff --git a/t/config.t b/t/config.t index 48df0871..7a63aa76 100644 --- a/t/config.t +++ b/t/config.t @@ -29,7 +29,7 @@ my $tmpdir = tempdir('pi-config-XXXXXX', TMPDIR => 1, CLEANUP => 1); 'mainrepo' => '/home/pi/meta-main.git', 'address' => 'meta@public-inbox.org', -primary_address => 'meta@public-inbox.org', - 'listname' => 'meta', + 'inbox' => 'meta', }, "lookup matches expected output"); is($cfg->lookup('blah@example.com'), undef, @@ -42,7 +42,7 @@ my $tmpdir = tempdir('pi-config-XXXXXX', TMPDIR => 1, CLEANUP => 1); 'test@public-inbox.org'], -primary_address => 'try@public-inbox.org', 'mainrepo' => '/home/pi/test-main.git', - 'listname' => 'test', + 'inbox' => 'test', }, "lookup matches expected output for test"); } diff --git a/t/feed.t b/t/feed.t index 61f0dc72..ab92039f 100644 --- a/t/feed.t +++ b/t/feed.t @@ -184,7 +184,7 @@ EOF my $feed = string_feed({ git_dir => $git_dir, max => 3, - listname => 'asdf', + inbox => 'asdf', pi_config => bless({ 'publicinbox.asdf.address' => $addr, }, 'PublicInbox::Config'), -- cgit v1.2.3-24-ge0c7