Skip to content

Commit f124b2d

Browse files
haargsimbabque
authored andcommitted
stop specifying LocalAddr in basic test
If the LocalAddr is not specified, HTTP::Daemon will pick one for us. We can just use this in our main test, rather than having a separate test specifically to check this.
1 parent e3732ab commit f124b2d

2 files changed

Lines changed: 1 addition & 64 deletions

File tree

t/basic.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ if ($D eq 'daemon') {
1515

1616
require HTTP::Daemon;
1717

18-
my $d = HTTP::Daemon->new(Timeout => 10, LocalAddr => '127.0.0.1');
18+
my $d = HTTP::Daemon->new(Timeout => 10);
1919

2020
print "Please to meet you at: <URL:", $d->url, ">\n";
2121
open(STDOUT, $^O eq 'VMS' ? ">nl: " : ">/dev/null");

t/url.t

Lines changed: 0 additions & 63 deletions
This file was deleted.

0 commit comments

Comments
 (0)