---
name: "Dist::Zilla::Plugin::Test::EOL"
section: "3pm"
platform: "linux"
package: "libdist-zilla-plugin-test-eol-perl"
version: "0.19-4"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Dist::Zilla::Plugin::Test::EOL"
---

# Dist::Zilla::Plugin::Test::EOL(3pm)

Author tests making sure correct line endings are used

## NAME

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

## VERSION

version 0.19

## 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.

## 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*.

## 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.

## 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\>.

## AUTHORS

- •

  Florian Ragwitz \<rafl@debian.org\>

- •

  Caleb Cushing \<xenoterracide@gmail.com\>

- •

  Karen Etheridge \<ether@cpan.org\>

## 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.
