about summary refs log tree commit homepage
path: root/t/reply.t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-04-18 08:31:39 +0000
committerEric Wong <e@80x24.org>2021-04-18 19:04:41 -0400
commit3b7b5442c4321ae802867cbda9bd33235ab2a5a3 (patch)
treebdea14e6eb4a23fc708618e8820087dfdb0764dd /t/reply.t
parent7060701075dcb467ed1328f048b96dc0bd446fbb (diff)
downloadpublic-inbox-3b7b5442c4321ae802867cbda9bd33235ab2a5a3.tar.gz
We'll keep it in PublicInbox::Config for now, since I'm not
sure if there's a better place to put it.
Diffstat (limited to 't/reply.t')
-rw-r--r--t/reply.t5
1 files changed, 3 insertions, 2 deletions
diff --git a/t/reply.t b/t/reply.t
index 1e89973e..41d72db2 100644
--- a/t/reply.t
+++ b/t/reply.t
@@ -1,8 +1,9 @@
+#!perl -w
 # Copyright (C) 2017-2021 all contributors <meta@public-inbox.org>
 # License: AGPL-3+ <https://www.gnu.org/licenses/agpl-3.0.txt>
 use strict;
-use warnings;
 use Test::More;
+use PublicInbox::Config;
 use PublicInbox::Eml;
 use_ok 'PublicInbox::Reply';
 
@@ -15,7 +16,7 @@ my @q = (
 while (@q) {
         my $input = shift @q;
         my $expect = shift @q;
-        my $res = PublicInbox::Reply::squote_maybe($input);
+        my $res = PublicInbox::Config::squote_maybe($input);
         is($res, $expect, "quote $input => $res");
 }