diff options
author | Eric Wong <e@80x24.org> | 2021-03-16 23:02:15 -0800 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-03-17 19:03:12 +0000 |
commit | be940983157a1f8bd353cb1891f6971645c73e5d (patch) | |
tree | a101284395b2c81f9956c629f96353b8e7dd8ee7 /t/config.t | |
parent | 0a14f0a22c7d7ce35a740df574878269c0d947f5 (diff) | |
download | public-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.t | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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"); } { |