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
|
# doesn't have any syntax errors
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
|
use warnings;
|
||||||
use Test::More;
|
use Test::More;
|
||||||
|
|
||||||
my $tests = 0;
|
my $tests = 0;
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
# Basics: are there semantic errors which are easy to spot?
|
# Basics: are there semantic errors which are easy to spot?
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
|
use warnings;
|
||||||
use Test::More;
|
use Test::More;
|
||||||
|
|
||||||
my $tests = 0;
|
my $tests = 0;
|
||||||
|
|||||||
@@ -5,6 +5,7 @@
|
|||||||
# This runs a basic test with the supplied openssl vs /usr/bin/openssl
|
# This runs a basic test with the supplied openssl vs /usr/bin/openssl
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
|
use warnings;
|
||||||
use Test::More;
|
use Test::More;
|
||||||
use Data::Dumper;
|
use Data::Dumper;
|
||||||
use Text::Diff;
|
use Text::Diff;
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
# This could be amended by using HTML::Tidy or HTML::Valid
|
# This could be amended by using HTML::Tidy or HTML::Valid
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
|
use warnings;
|
||||||
use Test::More;
|
use Test::More;
|
||||||
use Data::Dumper;
|
use Data::Dumper;
|
||||||
use Text::Diff;
|
use Text::Diff;
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
# We don't use a full run, only the certificate section.
|
# We don't use a full run, only the certificate section.
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
|
use warnings;
|
||||||
use Test::More;
|
use Test::More;
|
||||||
use Data::Dumper;
|
use Data::Dumper;
|
||||||
use Text::Diff;
|
use Text::Diff;
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
# We don't use a full run, only the HTTP header section.
|
# We don't use a full run, only the HTTP header section.
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
|
use warnings;
|
||||||
use Test::More;
|
use Test::More;
|
||||||
|
|
||||||
my $tests = 0;
|
my $tests = 0;
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
|
use warnings;
|
||||||
use Test::More;
|
use Test::More;
|
||||||
use Data::Dumper;
|
use Data::Dumper;
|
||||||
use Text::Diff;
|
use Text::Diff;
|
||||||
|
|||||||
Reference in New Issue
Block a user