]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/reply.t
dsdeflate: shorten scope of initial buffer
[public-inbox.git] / t / reply.t
index 1e89973e0730c92d346b51f2c66cfda1c4245f32..41d72db22c6586eb771009c056b413123ddae77c 100644 (file)
--- 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");
 }