]> sjero.net Git - wget/blobdiff - tests/Test-c-shorter.px
Fix build when libpsl is not available
[wget] / tests / Test-c-shorter.px
index 432cab92fff726d350c5611e8154fb31f88c69e9..c4802dacfe87e0319310ea2d96665003b0219d6b 100755 (executable)
@@ -1,6 +1,7 @@
-#!/usr/bin/perl -w
+#!/usr/bin/env perl
 
 use strict;
+use warnings;
 
 use HTTPTest;
 
@@ -53,9 +54,9 @@ my %expected_downloaded_files = (
 ###############################################################################
 
 my $the_test = HTTPTest->new (name => "Test-c-partial",
-                              input => \%urls, 
-                              cmdline => $cmdline, 
-                              errcode => $expected_error_code, 
+                              input => \%urls,
+                              cmdline => $cmdline,
+                              errcode => $expected_error_code,
                               existing => \%existing_files,
                               output => \%expected_downloaded_files);
 exit $the_test->run();