[libdist-zilla-plugin-test-eol-perl] 01/07: test-eol.t -> eol.t: no need to say it's a test - we know it's a test

Intrigeri intrigeri at moszumanska.debian.org
Sun Aug 16 09:20:19 UTC 2015


This is an automated email from the git hooks/post-receive script.

intrigeri pushed a commit to annotated tag 0.14
in repository libdist-zilla-plugin-test-eol-perl.

commit 1fe8a0cc3125e4b0fa881db6e71980db1778d69f
Author: Karen Etheridge <ether at cpan.org>
Date:   Tue Oct 21 22:47:20 2014 -0700

    test-eol.t -> eol.t: no need to say it's a test - we know it's a test
---
 Changes                           | 1 +
 lib/Dist/Zilla/Plugin/Test/EOL.pm | 2 +-
 t/01-basic.t                      | 2 +-
 t/02-eoltests.t                   | 2 +-
 4 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/Changes b/Changes
index b1df9cd..263fa1f 100644
--- a/Changes
+++ b/Changes
@@ -1,6 +1,7 @@
 Revision history for {{$dist->name}}
 
 {{$NEXT}}
+        - change default filename from test-eol.t to eol.t
 
 0.13      2014-10-22 05:44:36Z
         - Dist::Zilla::Plugin::EOLTests and Dist::Zilla::Plugin::Test::EOL are
diff --git a/lib/Dist/Zilla/Plugin/Test/EOL.pm b/lib/Dist/Zilla/Plugin/Test/EOL.pm
index 7b22a9c..ae0c82e 100644
--- a/lib/Dist/Zilla/Plugin/Test/EOL.pm
+++ b/lib/Dist/Zilla/Plugin/Test/EOL.pm
@@ -23,7 +23,7 @@ has trailing_whitespace => (
 has filename => (
     is => 'ro', isa => 'Str',
     lazy => 1,
-    default => sub { return 'xt/author/test-eol.t' },
+    default => sub { return 'xt/author/eol.t' },
 );
 
 sub gather_files
diff --git a/t/01-basic.t b/t/01-basic.t
index 977097c..1ce3956 100644
--- a/t/01-basic.t
+++ b/t/01-basic.t
@@ -31,7 +31,7 @@ $tzil->chrome->logger->set_debug(1);
 $tzil->build;
 
 my $build_dir = path($tzil->tempdir)->child('build');
-my $file = $build_dir->child(qw(xt author test-eol.t));
+my $file = $build_dir->child(qw(xt author eol.t));
 ok( -e $file, $file . ' created');
 
 my $content = $file->slurp_utf8;
diff --git a/t/02-eoltests.t b/t/02-eoltests.t
index 28a836e..2c397cf 100644
--- a/t/02-eoltests.t
+++ b/t/02-eoltests.t
@@ -7,7 +7,7 @@ use Path::Tiny;
 my $code = path('t', '01-basic.t')->slurp_utf8;
 
 $code =~ s/Test::EOL(?!'\s*=>)/EOLTests/g;
-$code =~ s{xt(.)author(.)test-eol\.t}{xt$1release$2eol.t}g;
+$code =~ s{xt(.)author(.)eol\.t}{xt$1release$2eol.t}g;
 
 eval $code;
 die $@ if $@;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdist-zilla-plugin-test-eol-perl.git



More information about the Pkg-perl-cvs-commits mailing list