Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
93ec6654
Commit
93ec6654
authored
Sep 04, 2001
by
zach%zachlipton.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add tests for use strict;
parent
6df1f2a6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
2goodperl.t
t/2goodperl.t
+6
-1
No files found.
t/2goodperl.t
View file @
93ec6654
...
...
@@ -35,7 +35,7 @@
#Bugzilla Test 2#
####GoodPerl#####
BEGIN { use Test::More tests =>
51
; }
BEGIN { use Test::More tests =>
102
; }
BEGIN { use lib 't/'; }
BEGIN { use Support::Files; }
...
...
@@ -57,6 +57,11 @@ foreach $file (@testitems) {
next;
}
}
if ($filecontent !~ /use strict;/) {
ok(0,"$file DOES NOT use strict");
} else {
ok(1,"$files uses strict");
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment