Remove the function mn(), made redundant by runnig the tsts from inside ext/
Nicholas Clark [Fri, 28 Aug 2009 21:23:35 +0000 (22:23 +0100)]
ext/Test-Harness/t/state.t

index 52e99e3..2d94e9b 100644 (file)
@@ -9,11 +9,6 @@ use Test::More;
 use App::Prove::State;
 use App::Prove::State::Result;
 
-sub mn {
-    # FIXME - remove this.
-    return @_;
-}
-
 my @schedule = (
     {   options        => 'all',
         get_tests_args => [],
@@ -169,7 +164,7 @@ for my $test (@schedule) {
     $state->apply_switch(@$options);
 
     my @got    = $state->get_tests( @{ $test->{get_tests_args} } );
-    my @expect = mn( @{ $test->{expect} } );
+    my @expect = @{ $test->{expect} };
     unless ( is_deeply \@got, \@expect, "$desc: order OK" ) {
         use Data::Dumper;
         diag( Dumper( { got => \@got, want => \@expect } ) );
@@ -181,7 +176,7 @@ sub get_state {
         {   generation    => 51,
             last_run_time => 1196285439,
             tests         => {
-                mn('t/compat/failure.t') => {
+                't/compat/failure.t' => {
                     last_result    => 0,
                     last_run_time  => 1196371471.57738,
                     last_pass_time => 1196371471.57738,
@@ -192,7 +187,7 @@ sub get_state {
                     last_todo      => 1,
                     mtime          => 1196285623,
                 },
-                mn('t/yamlish-writer.t') => {
+                't/yamlish-writer.t' => {
                     last_result    => 0,
                     last_run_time  => 1196371480.5761,
                     last_pass_time => 1196371480.5761,
@@ -204,7 +199,7 @@ sub get_state {
                     last_todo      => 0,
                     mtime          => 1196285400,
                 },
-                mn('t/compat/env.t') => {
+                't/compat/env.t' => {
                     last_result    => 0,
                     last_run_time  => 1196371471.42967,
                     last_pass_time => 1196371471.42967,
@@ -216,7 +211,7 @@ sub get_state {
                     last_todo      => 0,
                     mtime          => 1196285739,
                 },
-                mn('t/compat/version.t') => {
+                't/compat/version.t' => {
                     last_result    => 2,
                     last_run_time  => 1196371472.96476,
                     last_pass_time => 1196371472.96476,
@@ -228,7 +223,7 @@ sub get_state {
                     last_todo      => 4,
                     mtime          => 1196285239,
                 },
-                mn('t/compat/inc_taint.t') => {
+                't/compat/inc_taint.t' => {
                     last_result    => 3,
                     last_run_time  => 1196371471.89682,
                     last_pass_time => 1196371471.89682,
@@ -239,7 +234,7 @@ sub get_state {
                     last_todo      => 0,
                     mtime          => 1196185639,
                 },
-                mn('t/source.t') => {
+                't/source.t' => {
                     last_result    => 0,
                     last_run_time  => 1196371479.72508,
                     last_pass_time => 1196371479.72508,