Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't simultaneously test -c and -v switches #33

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
MYMETA.json
MYMETA.json.lock
MYMETA.yml
META.yml
META.json
Expand All @@ -9,3 +10,4 @@ pm_to_blib
*.swp
Test-Strict*
*.bak
Makefile.old
5 changes: 3 additions & 2 deletions MANIFEST.SKIP
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
^\.git
\.gitignore
\.git/
maint
^tags$
.last_cover_stats
Expand All @@ -8,7 +9,7 @@ Makefile$
^.*.bak
^.*.old
^t.*sessions
^cover_db
cover_db/
^.*\.log
^.*\.swp$
^.*~$
Expand Down
4 changes: 1 addition & 3 deletions t/01all.t
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,6 @@ subtest perl_v5_12 => sub {
strict_ok($filename);
};

exit;

{
my %data;
sub make_file {
Expand Down Expand Up @@ -172,7 +170,7 @@ sub make_warning_files {

my ($fh2, $filename2) = tempfile( DIR => $tmpdir, SUFFIX => '.pl' );
print $fh2 <<'DUMMY';
#!/usr/bin/perl -vw
#!/usr/bin/perl -w
use strict;
print "Hello world";

Expand Down
3 changes: 1 addition & 2 deletions t/02fail.t
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ TODO: {
ok !Test::Strict::_strict_ok($fh1), 'use strict in print';
}

exit;


sub test1 {
Expand Down Expand Up @@ -199,7 +198,7 @@ DUMMY

my ($fh2, $filename2) = tempfile( DIR => $tmpdir, SUFFIX => '.pl' );
print $fh2 <<'DUMMY';
#!/usr/bin/perl -vw
#!/usr/bin/perl -w
use strict;
print "Hello world";

Expand Down