mirror of
https://github.com/drwetter/testssl.sh.git
synced 2026-09-14 13:48:16 +02:00
Add "use warnings" + correct subroutine prototypes declaration
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
# "finding" : "Scan interrupted"
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
use Test::More;
|
||||
use Data::Dumper;
|
||||
use JSON;
|
||||
@@ -98,7 +99,7 @@ done_testing($tests);
|
||||
printf "\n\n";
|
||||
|
||||
|
||||
sub json($) {
|
||||
sub json {
|
||||
my $file = shift;
|
||||
$file = `cat $file`;
|
||||
unlink $file;
|
||||
|
||||
Reference in New Issue
Block a user