Skip to content

Commit

Permalink
fixup! fixup! Convert user_agent_socks.t to use subtests
Browse files Browse the repository at this point in the history
  • Loading branch information
spazm committed Nov 1, 2020
1 parent 703ffb0 commit aac2823
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions t/mojo/user_agent_socks.t
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ get '/secure' => sub {

my $port = Mojo::IOLoop::Server->generate_port;
my $server = IO::Socket::Socks->new(
Blocking => 0,
Listen => 10,
ProxyAddr => '127.0.0.1',
ProxyPort => $port,
RequireAuth => 1,
UserAuth => sub { $_[0] eq 'foo' && $_[1] eq 'bar' }
Blocking => 0,
Listen => 10,
ProxyAddr => '127.0.0.1',
ProxyPort => $port,
RequireAuth => 1,
UserAuth => sub { $_[0] eq 'foo' && $_[1] eq 'bar' }
);

# SOCKS proxy server for testing
Expand Down

0 comments on commit aac2823

Please sign in to comment.