← Back to team overview

mvhub-dev team mailing list archive

[Branch ~mvhub-commit/mvhub/trunk] Rev 439: merged lp:~omacneil/mvhub/fix_ptidy_test

 

Merge authors:
  Dan MacNeil (omacneil)
Related merge proposals:
  https://code.launchpad.net/~omacneil/mvhub/fix_ptidy_test/+merge/29230
  proposed by: Dan MacNeil (omacneil)
  review: Approve - Priya Ravindran (priya)
------------------------------------------------------------
revno: 439 [merge]
committer: Dan MacNeil <dan@xxxxxxxxxxxx>
branch nick: trunk
timestamp: Thu 2010-07-08 16:43:18 -0400
message:
  merged  lp:~omacneil/mvhub/fix_ptidy_test 
modified:
  app-mvhub/t/perltidy.t


--
lp:mvhub
https://code.launchpad.net/~mvhub-commit/mvhub/trunk

Your team MVHub Developers is subscribed to branch lp:mvhub.
To unsubscribe from this branch go to https://code.launchpad.net/~mvhub-commit/mvhub/trunk/+edit-subscription
=== modified file 'app-mvhub/t/perltidy.t'
--- app-mvhub/t/perltidy.t	2010-06-13 20:19:57 +0000
+++ app-mvhub/t/perltidy.t	2010-07-05 18:12:08 +0000
@@ -6,12 +6,6 @@
 use Carp;
 use Test::More;
 use File::Temp;
-use Test::NoWarnings;
-
-BEGIN {
-    use FindBin qw($Bin);
-    chdir "$Bin/../..";
-}
 
 use TestHelper;
 
@@ -26,7 +20,7 @@
 
     if ($@) {
         plan skip_all =>
-            'Perl::Tidy version 20071205 and valid t/perltidyrc required for this test';
+            'Perl::Tidy version 20090616 and valid t/perltidyrc required for this test';
     }
     else {
 
@@ -38,7 +32,7 @@
             @perl_files = _get_all_perl_files();
         }
 
-        plan tests => ( scalar @perl_files ) + 1;    # +1 for NoWarnings
+        plan tests => ( scalar @perl_files );
 
         my @files_to_fix;