Skip to content

Commit

Permalink
specified pragma module: use utf8
Browse files Browse the repository at this point in the history
  • Loading branch information
bayashi committed Jun 18, 2014
1 parent b2ef240 commit bf63d56
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion t/05_showpragma.t
Expand Up @@ -4,13 +4,15 @@ use Devel::ModuleDumper qw/showpragma/;
use Test::More;
use Capture::Tiny qw/capture_stdout/;

use utf8;

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/constant\t\d+/;
like $stdout, qr/utf8\t\d+/;

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

0 comments on commit bf63d56

Please sign in to comment.