From: Eric Wong Date: Mon, 22 Aug 2022 02:33:41 +0000 (+0000) Subject: xt/solver: improve diagnostics X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=commitdiff_plain;h=114b4dd6c6e241fc015ac01ea93aa1f13868f884 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. --- 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; } };