about summary refs log tree commit homepage
path: root/t/config.t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-03-16 23:02:15 -0800
committerEric Wong <e@80x24.org>2021-03-17 19:03:12 +0000
commitbe940983157a1f8bd353cb1891f6971645c73e5d (patch)
treea101284395b2c81f9956c629f96353b8e7dd8ee7 /t/config.t
parent0a14f0a22c7d7ce35a740df574878269c0d947f5 (diff)
downloadpublic-inbox-be940983157a1f8bd353cb1891f6971645c73e5d.tar.gz
We'll try to share a bit more configuration with
extindex entries for WWW PSGI usage.
Diffstat (limited to 't/config.t')
-rw-r--r--t/config.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/config.t b/t/config.t
index fe684106..06a105c1 100644
--- a/t/config.t
+++ b/t/config.t
@@ -159,7 +159,7 @@ my $xre = join('|', keys %X);
 for my $s (@invalid) {
         my $d = $s;
         $d =~ s/($xre)/$X{$1}/g;
-        ok(!PublicInbox::Config::valid_inbox_name($s), "`$d' name rejected");
+        ok(!PublicInbox::Config::valid_foo_name($s), "`$d' name rejected");
 }
 
 # obviously-valid examples
@@ -175,7 +175,7 @@ my @valid = qw(a a@example a@example.com);
 # '!', '$', '=', '+'
 push @valid, qw[bang! ca$h less< more> 1% (parens) &more eql= +plus], '#hash';
 for my $s (@valid) {
-        ok(PublicInbox::Config::valid_inbox_name($s), "`$s' name accepted");
+        ok(PublicInbox::Config::valid_foo_name($s), "`$s' name accepted");
 }
 
 {