[libcode-tidyall-perl] 320/374: masontidy no longer adds newline at end

Jonas Smedegaard js at alioth.debian.org
Sun Sep 29 22:26:43 UTC 2013


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

js pushed a commit to branch master
in repository libcode-tidyall-perl.

commit 0b43ef3a53e56d689f42639df0e82933292ecc51
Author: Jonathan Swartz <swartz at pobox.com>
Date:   Wed Oct 10 04:00:09 2012 -0700

    masontidy no longer adds newline at end
---
 lib/Code/TidyAll/t/Plugin/MasonTidy.pm |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/Code/TidyAll/t/Plugin/MasonTidy.pm b/lib/Code/TidyAll/t/Plugin/MasonTidy.pm
index 2e185c5..d269a14 100644
--- a/lib/Code/TidyAll/t/Plugin/MasonTidy.pm
+++ b/lib/Code/TidyAll/t/Plugin/MasonTidy.pm
@@ -10,17 +10,17 @@ sub test_main : Tests {
     $self->tidyall(
         source      => $source,
         conf        => { argv => '-m 1' },
-        expect_tidy => '% if ($foo) {\n%     bar( 1, 2 );\n% }\n'
+        expect_tidy => '% if ($foo) {\n%     bar( 1, 2 );\n% }'
     );
     $self->tidyall(
         source      => $source,
         conf        => { argv => '-m 1 --perltidy-argv="-pt=2 -i=3"' },
-        expect_tidy => '% if ($foo) {\n%    bar(1, 2);\n% }\n'
+        expect_tidy => '% if ($foo) {\n%    bar(1, 2);\n% }'
     );
     $self->tidyall(
         source      => $source,
         conf        => { argv => '-m 2 --perltidy-line-argv=" "' },
-        expect_tidy => '% if ($foo) {\n%     bar( 1, 2 );\n% }\n'
+        expect_tidy => '% if ($foo) {\n%     bar( 1, 2 );\n% }'
     );
     $self->tidyall(
         source       => $source,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcode-tidyall-perl.git



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