diff options
author | Eric Wong <e@80x24.org> | 2022-12-31 06:17:20 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2023-01-01 10:47:13 +0000 |
commit | e6923c94de9d302fdc51185a7bea516b28b35fc1 (patch) | |
tree | 24147791e9ba7c1f4dcc7a96ed44faccdff198d3 /xt | |
parent | 68e182a29404407680bee482f99ee24dd9c3c7cb (diff) | |
download | public-inbox-e6923c94de9d302fdc51185a7bea516b28b35fc1.tar.gz |
Loading cgitrc (and associated projects.list) can get users out of defining as many individual coderepos. xt/solver.t needs a use of `$_' replaced since that gets clobbered while parsing cgitrc.
Diffstat (limited to 'xt')
-rw-r--r-- | xt/solver.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xt/solver.t b/xt/solver.t index 40a5f81f..1b0af3d8 100644 --- a/xt/solver.t +++ b/xt/solver.t @@ -36,8 +36,8 @@ my $todo = { my ($ibx_name, $urls, @gone); my $client = sub { my ($cb) = @_; - for (@$urls) { - my $url = "/$ibx_name/$_"; + for my $u (@$urls) { + my $url = "/$ibx_name/$u"; my $res = $cb->(GET($url)); is($res->code, 200, $url); next if $res->code == 200; |