NAME

Dist::Zilla::Plugin::Test::EOL - Author tests making sure correct line endings are used

VERSION

version 0.13

DESCRIPTION

Generate an author Test::EOL.

This is an extension of Dist::Zilla::Plugin::InlineFiles, providing the following files:

  • xt/author/eol.t

    a standard Test::EOL test

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").

filename

The filename of the test to add - defaults to xt/author/test-eol.t.

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.

BUGS

Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Dist-Zilla-Plugin-Test-EO L or by email to bug-Dist-Zilla-Plugin-Test-EOL@rt.cpan.org.

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

SEE ALSO

Please see those modules/websites for more information related to this module.

CONTRIBUTORS

  • Olivier Mengué <dolmen@cpan.org>

  • Shlomi Fish <shlomif@shlomifish.org>

AUTHORS

  • Florian Ragwitz <rafl@debian.org>

  • Caleb Cushing <xenoterracide@gmail.com>

  • Karen Etheridge <ether@cpan.org>

COPYRIGHT AND LICENSE

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.