about summary refs log tree commit homepage
path: root/t/solver_git.t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-01-31 06:00:22 +0000
committerEric Wong <e@80x24.org>2019-01-31 06:00:53 +0000
commit773f462ebf8bd845406ae518659bd475970f3f40 (patch)
tree38ba21e7ca2aae159f196ec3a34d6faaba04bcc2 /t/solver_git.t
parent658ca41d321d10acf098c43291577e1fd1fae479 (diff)
downloadpublic-inbox-773f462ebf8bd845406ae518659bd475970f3f40.tar.gz
This will make it easier to make command-line tools
from SolverGit.
Diffstat (limited to 't/solver_git.t')
-rw-r--r--t/solver_git.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/solver_git.t b/t/solver_git.t
index 66e63176..8de63988 100644
--- a/t/solver_git.t
+++ b/t/solver_git.t
@@ -44,7 +44,7 @@ $ibx->{-repo_objs} = [ PublicInbox::Git->new($git_dir) ];
 my $res;
 my $solver = PublicInbox::SolverGit->new($ibx, sub { $res = $_[0] });
 open my $log, '+>>', "$mainrepo/solve.log" or die "open: $!";
-my $psgi_env = { 'psgi.url_scheme' => 'http', HTTP_HOST => 'example.com' };
+my $psgi_env = { 'psgi.errors' => *STDERR };
 $solver->solve($psgi_env, $log, '69df7d5', {});
 ok($res, 'solved a blob!');
 my $wt_git = $res->[0];