Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Class:Inspector had to remove "Test::Spelling" test completely, because the test was failing due to a contributor whose name had a none a-zA-Z character. Adding it as a stopword was not working either. Pod::Spell documentation @ https://metacpan.org/pod/Pod::Spell#ENCODINGS notes that default parse_from_file does not apply any encoding layer. To get the encoding, we should replace it with parse_from_filehandle. After this change, adding a stopword with non a-zA-Z character works as expected. I also added a test to make sure this works.
- Loading branch information
Showing
3 changed files
with
26 additions
and
1 deletion.
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
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
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package Unicode::Pod; | ||
use strict; | ||
use warnings; | ||
|
||
sub foo {} | ||
|
||
1; | ||
|
||
__END__ | ||
=head1 NAME | ||
UTF8::Pod - POD with ünıçöđé | ||
=END | ||