-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9f8799a
commit 45ebee2
Showing
3 changed files
with
14 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
#!perl -T | ||
|
||
use strict; | ||
|
||
use Test::Most tests => 2; | ||
|
||
BEGIN { | ||
use_ok( 'CGI::Untaint::Twitter' ) || print "Bail out! | ||
"; | ||
use_ok('CGI::Untaint::Twitter') || print 'Bail out!'; | ||
} | ||
|
||
require_ok('CGI::Untaint::Twitter') || print 'Bail out!'; | ||
|
||
diag( "Testing CGI::Untaint::Twitter $CGI::Untaint::Twitter::VERSION, Perl $], $^X" ); | ||
diag("Testing CGI::Untaint::Twitter $CGI::Untaint::Twitter::VERSION, Perl $], $^X"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,13 @@ | ||
#!perl -wT | ||
|
||
use Test::Most; | ||
|
||
use warnings; | ||
use strict; | ||
|
||
eval 'use Test::Portability::Files'; | ||
plan skip_all => "Test::Portability::Files required for testing filenames portability" if $@; | ||
|
||
plan(skip_all => 'Test::Portability::Files required for testing filenames portability') if $@; | ||
|
||
# Turn off test_one_dot because even thoug use_file_find is off, T:P:F still | ||
# tests files not distributed e.g. .travis.yml | ||
options(use_file_find => 0, test_one_dot => 0); | ||
run_tests(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters