Dist::Zilla::Plugin::Test::EOL - Author tests making sure correct line endings are used
Contents
Acknowledgments
This module is a fork of Dist::Zilla::Plugin::EOLTests and was originally written by Florian Ragwitz. It
was forked because the Test:: namespace is preferred for test modules, and because I would prefer to have
EOL tests be Author tests.
Configuration Options
This plugin accepts the following options:
"trailing_whitespace"
If this option is set to a true value, "{ trailing_whitespace => 1 }" will be passed to
"all_perl_files_ok" in Test::EOL. It defaults to 1.
What this option is going to do is test for the lack of trailing whitespace at the end of the lines (also
known as "trailing space").
"finder"
This is the name of a FileFinder for finding files to check. The default value is ":InstallModules",
":ExecFiles" (see also Dist::Zilla::Plugin::ExecDir) and ":TestFiles"; this option can be used more than
once.
Other predefined finders are listed in "default_finders" in Dist::Zilla::Role::FileFinderUser. You can
define your own with the [FileFinder::ByName] plugin.
"file"
a filename to also test, in addition to any files found earlier. This option can be repeated to specify
multiple additional files.
"filename"
The filename of the test to add - defaults to xt/author/test-eol.t.
Contributors
• Olivier Mengue <dolmen@cpan.org>
• Shlomi Fish <shlomif@shlomifish.org>
Copyright And Licence
This software is copyright (c) 2010 by Florian Ragwitz <rafl@debian.org>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5
programming language system itself.
perl v5.36.0 2022-12-12 Dist::Zilla::Plugin::Test::EOL(3pm)
Description
Generate an author Test::EOL.
This is an extension of Dist::Zilla::Plugin::InlineFiles, providing the file xt/author/eol.t, a standard
Test::EOL test.
Name
Dist::Zilla::Plugin::Test::EOL - Author tests making sure correct line endings are used
See Also
• Test::EOL
Support
Bugs may be submitted through the RT bug tracker <https://rt.cpan.org/Public/Dist/Display.html?Name=Dist-
Zilla-Plugin-Test-EOL> (or bug-Dist-Zilla-Plugin-Test-EOL@rt.cpan.org <mailto:bug-Dist-Zilla-Plugin-Test-
EOL@rt.cpan.org>).
There is also a mailing list available for users of this distribution, at
<http://dzil.org/#mailing-list>.
There is also an irc channel available for users of this distribution, at "#distzilla" on "irc.perl.org"
<irc://irc.perl.org/#distzilla>.
Version
version 0.19
