mirror of
https://github.com/drwetter/testssl.sh.git
synced 2026-09-14 05:38:16 +02:00
Add "use warnings" + correct subroutine prototypes declaration
This commit is contained in:
+2
-1
@@ -4,6 +4,7 @@
|
||||
#
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
use Test::More;
|
||||
use JSON;
|
||||
|
||||
@@ -94,7 +95,7 @@ if ( $os eq "linux" ){
|
||||
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