Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bayashi committed Jun 18, 2014
1 parent bf63d56 commit 14a336f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions t/05_showpragma.t
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ use Devel::ModuleDumper qw/showpragma/;
use Test::More;
use Capture::Tiny qw/capture_stdout/;

use utf8;
use threads;

my $stdout = capture_stdout { print Devel::ModuleDumper->show(); };

like $stdout, qr/^Perl\t\d+/;
like $stdout, qr/Test::More\t\d+/;
like $stdout, qr/Capture::Tiny\t\d+/;

like $stdout, qr/utf8\t\d+/;
like $stdout, qr/threads\t\d+/;

if ($ENV{AUTHOR_TEST}) {
note $stdout;
Expand Down
2 changes: 1 addition & 1 deletion t/07_showpl.t
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ like $stdout, qr/^Perl\t\d+/;
like $stdout, qr/Test::More\t\d+/;
like $stdout, qr/Capture::Tiny\t\d+/;

like $stdout, qr/utf8_heavy.pl/;
like $stdout, qr/.+\.pl/;

if ($ENV{AUTHOR_TEST}) {
note $stdout;
Expand Down

0 comments on commit 14a336f

Please sign in to comment.