From 114b4dd6c6e241fc015ac01ea93aa1f13868f884 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 22 Aug 2022 02:33:41 +0000 Subject: xt/solver: improve diagnostics 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. --- xt/solver.t | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'xt') 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 +# Copyright (C) all contributors # License: AGPL-3.0+ -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; } }; -- cgit v1.2.3-24-ge0c7