← Back to team overview

mvhub-dev team mailing list archive

[Merge] lp:~omacneil/mvhub/fix_ptidy_test into lp:mvhub

 

Dan MacNeil has proposed merging lp:~omacneil/mvhub/fix_ptidy_test into lp:mvhub.

Requested reviews:
  MVHub devs with commit rights (mvhub-commit)


fixed test so it runs without false failure on staging server
-- 
https://code.launchpad.net/~omacneil/mvhub/fix_ptidy_test/+merge/29230
Your team MVHub Developers is subscribed to branch lp:mvhub.
=== 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:16:25 +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;
 


Follow ups