about summary refs log tree commit homepage
path: root/xt
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2022-08-22 02:33:41 +0000
committerEric Wong <e@80x24.org>2022-08-23 04:18:58 +0000
commit114b4dd6c6e241fc015ac01ea93aa1f13868f884 (patch)
tree5557714c022f367f9ba3c0a6d3add072e8df6555 /xt
parent3f949d4af046bfdce1af790a4d11b3e6430758fb (diff)
downloadpublic-inbox-114b4dd6c6e241fc015ac01ea93aa1f13868f884.tar.gz
I'm making some tweaks to solver and will probably find extra
output useful, and also update to v5.12 while we're at it.
Diffstat (limited to 'xt')
-rw-r--r--xt/solver.t7
1 files changed, 3 insertions, 4 deletions
diff --git a/xt/solver.t b/xt/solver.t
index 880458fb..32cd43cf 100644
--- a/xt/solver.t
+++ b/xt/solver.t
@@ -1,8 +1,7 @@
 #!perl -w
-# Copyright (C) 2020-2021 all contributors <meta@public-inbox.org>
+# Copyright (C) all contributors <meta@public-inbox.org>
 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
-use strict;
-use Test::More;
+use v5.12;
 use PublicInbox::TestCommon;
 use PublicInbox::Config; # this relies on PI_CONFIG // ~/.public-inbox/config
 my @psgi = qw(HTTP::Request::Common Plack::Test URI::Escape Plack::Builder);
@@ -41,8 +40,8 @@ my $client = sub {
                 my $res = $cb->(GET($url));
                 is($res->code, 200, $url);
                 next if $res->code == 200;
-                # diag $res->content;
                 diag "$url failed";
+                diag $res->content;
         }
 };