Skip to content

Commit

Permalink
don't use a string with require
Browse files Browse the repository at this point in the history
  • Loading branch information
nbezzala committed Jan 2, 2017
1 parent 3c9af73 commit 8db0ba1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion t/bad-connections.t
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ use warnings;
use Test::More tests => 5;
use HTTP::Request;

require 't/TestServer.pm';
use FindBin;
use lib "$FindBin::Bin";
require TestServer;

my $s = TestServer->new();
my $url_root = $s->started_ok("starting a test server");

Expand Down

0 comments on commit 8db0ba1

Please sign in to comment.