mirror of
https://github.com/drwetter/testssl.sh.git
synced 2026-09-14 05:38:16 +02:00
Add "use warnings"
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
# doesn't have any syntax errors
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
use Test::More;
|
||||
|
||||
my $tests = 0;
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
# Basics: are there semantic errors which are easy to spot?
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
use Test::More;
|
||||
|
||||
my $tests = 0;
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
# This runs a basic test with the supplied openssl vs /usr/bin/openssl
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
use Test::More;
|
||||
use Data::Dumper;
|
||||
use Text::Diff;
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
# This could be amended by using HTML::Tidy or HTML::Valid
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
use Test::More;
|
||||
use Data::Dumper;
|
||||
use Text::Diff;
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
# We don't use a full run, only the certificate section.
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
use Test::More;
|
||||
use Data::Dumper;
|
||||
use Text::Diff;
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
# We don't use a full run, only the HTTP header section.
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
use Test::More;
|
||||
|
||||
my $tests = 0;
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
#
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
use Test::More;
|
||||
use Data::Dumper;
|
||||
use Text::Diff;
|
||||
|
||||
Reference in New Issue
Block a user