Skip to content

[WIP] Add failing test to demonstrate unicode mishandling #4

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
15 changes: 15 additions & 0 deletions t/lib/UnicodeHeading.pm
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package UnicodeHeading;
# Unicode subroutine names and pod

=head2 $self->get_hat 🎩

something somthing

=cut

sub get_hat {}



1;

12 changes: 12 additions & 0 deletions t/unicode_heading.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/perl -w
use strict;
use Test::More tests => 3;
use lib 't/lib';

BEGIN {
use_ok( 'Pod::Coverage' );
}

my $obj = new Pod::Coverage package => 'UnicodeHeading';
isa_ok( $obj, 'Pod::Coverage' );
is($obj->coverage, 1, "Wasn't confused by Unicode in the header");