Skip to content

Commit

Permalink
strict/warnings and syntax tests
Browse files Browse the repository at this point in the history
  • Loading branch information
swelljoe committed Jul 8, 2016
1 parent 2889c43 commit e375e39
Show file tree
Hide file tree
Showing 9 changed files with 45 additions and 0 deletions.
5 changes: 5 additions & 0 deletions t/cgi_args-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'cgi_args.pl' );
strict_ok( 'cgi_args.pl' );
warnings_ok( 'cgi_args.pl' );
5 changes: 5 additions & 0 deletions t/edit-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'edit.cgi' );
strict_ok( 'edit.cgi' );
warnings_ok( 'edit.cgi' );
5 changes: 5 additions & 0 deletions t/edit_tmpl-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'edit_tmpl.cgi' );
strict_ok( 'edit_tmpl.cgi' );
warnings_ok( 'edit_tmpl.cgi' );
5 changes: 5 additions & 0 deletions t/index-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'index.cgi' );
strict_ok( 'index.cgi' );
warnings_ok( 'index.cgi' );
5 changes: 5 additions & 0 deletions t/mass-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'mass.cgi' );
strict_ok( 'mass.cgi' );
warnings_ok( 'mass.cgi' );
5 changes: 5 additions & 0 deletions t/save-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'save.cgi' );
strict_ok( 'save.cgi' );
warnings_ok( 'save.cgi' );
5 changes: 5 additions & 0 deletions t/save_tmpl-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'save_tmpl.cgi' );
strict_ok( 'save_tmpl.cgi' );
warnings_ok( 'save_tmpl.cgi' );
5 changes: 5 additions & 0 deletions t/virtual_feature-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'virtual_feature.pl' );
strict_ok( 'virtual_feature.pl' );
warnings_ok( 'virtual_feature.pl' );
5 changes: 5 additions & 0 deletions t/virtualmin-init-lib-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'virtualmin-init-lib.pl' );
strict_ok( 'virtualmin-init-lib.pl' );
warnings_ok( 'virtualmin-init-lib.pl' );

0 comments on commit e375e39

Please sign in to comment.