[tapx-dev] [commit][175] Tidied

andy at hexten.net andy at hexten.net
Thu Jul 12 23:38:55 BST 2007


Revision: 175
Author:   andy
Date:     2007-07-12 23:38:55 +0100 (Thu, 12 Jul 2007)

Log Message:
-----------
Tidied

Modified Paths:
--------------
    trunk/t/020-regression.t

Modified: trunk/t/020-regression.t
===================================================================
--- trunk/t/020-regression.t	2007-07-12 22:37:29 UTC (rev 174)
+++ trunk/t/020-regression.t	2007-07-12 22:38:55 UTC (rev 175)
@@ -29,7 +29,7 @@
 );
 $SIG{__WARN__} = sub {
     if ( $_[0] =~ /is deprecated/ ) {
-        my @caller = caller(1);
+        my @caller = caller( 1 );
         my $sub    = $caller[3];
         ok exists $deprecated{$sub},
           "... we should get a deprecated warning for $sub";
@@ -43,13 +43,15 @@
 my %samples = (
     descriptive => {
         results => [
-            {   is_plan       => TRUE,
+            {
+                is_plan       => TRUE,
                 raw           => '1..5',
                 tests_planned => 5,
                 passed        => TRUE,
                 is_ok         => TRUE,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 description   => "Interlock activated",
                 passed        => TRUE,
@@ -60,7 +62,8 @@
                 number        => 1,
                 is_unplanned  => FALSE,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -71,7 +74,8 @@
                 description   => "Megathrusters are go",
                 is_unplanned  => FALSE,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -82,7 +86,8 @@
                 description   => "Head formed",
                 is_unplanned  => FALSE,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -93,7 +98,8 @@
                 description   => "Blazing sword formed",
                 is_unplanned  => FALSE,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -124,7 +130,8 @@
     },
     descriptive_trailing => {
         results => [
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 description   => "Interlock activated",
                 passed        => TRUE,
@@ -135,7 +142,8 @@
                 number        => 1,
                 is_unplanned  => FALSE,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -146,7 +154,8 @@
                 description   => "Megathrusters are go",
                 is_unplanned  => FALSE,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -157,7 +166,8 @@
                 description   => "Head formed",
                 is_unplanned  => FALSE,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -168,7 +178,8 @@
                 description   => "Blazing sword formed",
                 is_unplanned  => FALSE,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -179,7 +190,8 @@
                 description   => "Robeast destroyed",
                 is_unplanned  => FALSE,
             },
-            {   is_plan       => TRUE,
+            {
+                is_plan       => TRUE,
                 raw           => '1..5',
                 tests_planned => 5,
                 passed        => TRUE,
@@ -205,13 +217,15 @@
     },
     simple => {
         results => [
-            {   is_plan       => TRUE,
+            {
+                is_plan       => TRUE,
                 raw           => '1..5',
                 tests_planned => 5,
                 passed        => TRUE,
                 is_ok         => TRUE,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -221,7 +235,8 @@
                 number        => 1,
                 description   => "",
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -231,7 +246,8 @@
                 number        => 2,
                 description   => "",
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -241,7 +257,8 @@
                 number        => 3,
                 description   => "",
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -251,7 +268,8 @@
                 number        => 4,
                 description   => "",
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -281,16 +299,19 @@
     },
     simple_yaml => {
         results => [
-            {   is_version => TRUE,
+            {
+                is_version => TRUE,
                 raw        => 'TAP version 13',
             },
-            {   is_plan       => TRUE,
+            {
+                is_plan       => TRUE,
                 raw           => '1..5',
                 tests_planned => 5,
                 passed        => TRUE,
                 is_ok         => TRUE,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -300,7 +321,8 @@
                 number        => 1,
                 description   => "",
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -310,7 +332,8 @@
                 number        => 2,
                 description   => "",
             },
-            {   is_yaml => TRUE,
+            {
+                is_yaml => TRUE,
                 data    => [
                     { 'fnurk' => 'skib', 'ponk' => 'gleeb' },
                     { 'bar'   => 'krup', 'foo'  => 'plink' }
@@ -318,7 +341,8 @@
                 raw =>
                   "---\n-\n  fnurk: skib\n  ponk: gleeb\n-\n  bar: krup\n  foo: plink\n...\n",
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -328,7 +352,8 @@
                 number        => 3,
                 description   => "",
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -338,7 +363,8 @@
                 number        => 4,
                 description   => "",
             },
-            {   is_yaml => TRUE,
+            {
+                is_yaml => TRUE,
                 data    => {
                     'got'      => [ '1', 'pong', '4' ],
                     'expected' => [ '1', '2',    '4' ]
@@ -346,7 +372,8 @@
                 raw =>
                   "---\nexpected:\n  - 1\n  - 2\n  - 4\ngot:\n  - 1\n  - pong\n  - 4\n...\n",
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -376,13 +403,15 @@
     },
     simple_fail => {
         results => [
-            {   is_plan       => TRUE,
+            {
+                is_plan       => TRUE,
                 raw           => '1..5',
                 tests_planned => 5,
                 passed        => TRUE,
                 is_ok         => TRUE,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -392,7 +421,8 @@
                 number        => 1,
                 description   => "",
             },
-            {   actual_passed => FALSE,
+            {
+                actual_passed => FALSE,
                 is_actual_ok  => FALSE,
                 passed        => FALSE,
                 is_ok         => FALSE,
@@ -402,7 +432,8 @@
                 number        => 2,
                 description   => "",
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -412,7 +443,8 @@
                 number        => 3,
                 description   => "",
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -422,7 +454,8 @@
                 number        => 4,
                 description   => "",
             },
-            {   actual_passed => FALSE,
+            {
+                actual_passed => FALSE,
                 is_actual_ok  => FALSE,
                 passed        => FALSE,
                 is_ok         => FALSE,
@@ -452,13 +485,15 @@
     },
     skip => {
         results => [
-            {   is_plan       => TRUE,
+            {
+                is_plan       => TRUE,
                 raw           => '1..5',
                 tests_planned => 5,
                 passed        => TRUE,
                 is_ok         => TRUE,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -468,7 +503,8 @@
                 number        => 1,
                 description   => "",
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -479,7 +515,8 @@
                 description   => "",
                 explanation   => 'rain delay',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -489,7 +526,8 @@
                 number        => 3,
                 description   => "",
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -499,7 +537,8 @@
                 number        => 4,
                 description   => "",
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -529,13 +568,15 @@
     },
     skip_nomsg => {
         results => [
-            {   is_plan       => TRUE,
+            {
+                is_plan       => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
                 raw           => '1..1',
                 tests_planned => 1,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -566,13 +607,15 @@
     },
     todo_inline => {
         results => [
-            {   is_plan       => TRUE,
+            {
+                is_plan       => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
                 raw           => '1..3',
                 tests_planned => 3,
             },
-            {   actual_passed => FALSE,
+            {
+                actual_passed => FALSE,
                 is_actual_ok  => FALSE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -583,7 +626,8 @@
                 description   => "- Foo",
                 explanation   => 'Just testing the todo interface.',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -594,7 +638,8 @@
                 description   => "- Unexpected success",
                 explanation   => 'Just testing the todo interface.',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -625,13 +670,15 @@
     },
     duplicates => {
         results => [
-            {   is_plan       => TRUE,
+            {
+                is_plan       => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
                 raw           => '1..10',
                 tests_planned => 10,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -643,7 +690,8 @@
                 explanation   => '',
                 is_unplanned  => FALSE,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -655,7 +703,8 @@
                 explanation   => '',
                 is_unplanned  => FALSE,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -667,7 +716,8 @@
                 explanation   => '',
                 is_unplanned  => FALSE,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -679,7 +729,8 @@
                 explanation   => '',
                 is_unplanned  => FALSE,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -691,7 +742,8 @@
                 explanation   => '',
                 is_unplanned  => FALSE,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -703,7 +755,8 @@
                 explanation   => '',
                 is_unplanned  => FALSE,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -715,7 +768,8 @@
                 explanation   => '',
                 is_unplanned  => FALSE,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -727,7 +781,8 @@
                 explanation   => '',
                 is_unplanned  => FALSE,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -739,7 +794,8 @@
                 explanation   => '',
                 is_unplanned  => FALSE,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -751,7 +807,8 @@
                 explanation   => '',
                 is_unplanned  => FALSE,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => FALSE,
                 is_ok         => FALSE,
@@ -790,13 +847,15 @@
     },
     no_nums => {
         results => [
-            {   is_plan       => TRUE,
+            {
+                is_plan       => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
                 raw           => '1..5',
                 tests_planned => 5,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 description   => "",
                 passed        => TRUE,
@@ -806,7 +865,8 @@
                 has_todo      => FALSE,
                 number        => 1,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -816,7 +876,8 @@
                 number        => 2,
                 description   => "",
             },
-            {   actual_passed => FALSE,
+            {
+                actual_passed => FALSE,
                 is_actual_ok  => FALSE,
                 passed        => FALSE,
                 is_ok         => FALSE,
@@ -826,7 +887,8 @@
                 number        => 3,
                 description   => "",
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -836,7 +898,8 @@
                 number        => 4,
                 description   => "",
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -866,13 +929,15 @@
     },
     bailout => {
         results => [
-            {   is_plan       => TRUE,
+            {
+                is_plan       => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
                 raw           => '1..5',
                 tests_planned => 5,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 description   => "",
                 passed        => TRUE,
@@ -882,7 +947,8 @@
                 has_todo      => FALSE,
                 number        => 1,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -892,7 +958,8 @@
                 number        => 2,
                 description   => "",
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -902,10 +969,12 @@
                 number        => 3,
                 description   => "",
             },
-            {   is_bailout  => TRUE,
+            {
+                is_bailout  => TRUE,
                 explanation => "GERONIMMMOOOOOO!!!",
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -915,7 +984,8 @@
                 number        => 4,
                 description   => "",
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -956,21 +1026,21 @@
         good_plan     => FALSE,
         tests_planned => undef,
         tests_run     => 0,
-        parse_errors  => [
-            'No plan found in TAP output',
-        ],
-        'exit' => 0,
-        wait   => 0,
+        parse_errors  => [ 'No plan found in TAP output', ],
+        'exit'        => 0,
+        wait          => 0,
     },
     too_many => {
         results => [
-            {   is_plan       => TRUE,
+            {
+                is_plan       => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
                 raw           => '1..3',
                 tests_planned => 3,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 description   => "",
                 passed        => TRUE,
@@ -981,7 +1051,8 @@
                 number        => 1,
                 is_unplanned  => FALSE,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -992,7 +1063,8 @@
                 description   => "",
                 is_unplanned  => FALSE,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -1003,7 +1075,8 @@
                 description   => "",
                 is_unplanned  => FALSE,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => FALSE,
                 is_ok         => FALSE,
@@ -1014,7 +1087,8 @@
                 description   => "",
                 is_unplanned  => TRUE,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => FALSE,
                 is_ok         => FALSE,
@@ -1025,7 +1099,8 @@
                 description   => "",
                 is_unplanned  => TRUE,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => FALSE,
                 is_ok         => FALSE,
@@ -1036,7 +1111,8 @@
                 description   => "",
                 is_unplanned  => TRUE,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => FALSE,
                 is_ok         => FALSE,
@@ -1065,13 +1141,15 @@
     },
     taint => {
         results => [
-            {   is_plan       => TRUE,
+            {
+                is_plan       => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
                 raw           => '1..1',
                 tests_planned => TRUE,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 description   => "- -T honored",
                 passed        => TRUE,
@@ -1112,15 +1190,14 @@
         good_plan     => FALSE,
         tests_planned => undef,
         tests_run     => 0,
-        parse_errors  => [
-            'No plan found in TAP output',
-        ],
-        'exit' => 1,
-        wait   => NOT_ZERO,
+        parse_errors  => [ 'No plan found in TAP output', ],
+        'exit'        => 1,
+        wait          => NOT_ZERO,
     },
     die_head_end => {
         results => [
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -1131,7 +1208,8 @@
                 description   => '',
                 explanation   => '',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -1142,7 +1220,8 @@
                 description   => '',
                 explanation   => '',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -1153,7 +1232,8 @@
                 description   => '',
                 explanation   => '',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -1176,15 +1256,14 @@
         good_plan     => FALSE,
         tests_planned => undef,
         tests_run     => 4,
-        parse_errors  => [
-            'No plan found in TAP output',
-        ],
-        'exit' => 1,
-        wait   => NOT_ZERO,
+        parse_errors  => [ 'No plan found in TAP output', ],
+        'exit'        => 1,
+        wait          => NOT_ZERO,
     },
     die_last_minute => {
         results => [
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -1195,7 +1274,8 @@
                 description   => '',
                 explanation   => '',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -1206,7 +1286,8 @@
                 description   => '',
                 explanation   => '',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -1217,7 +1298,8 @@
                 description   => '',
                 explanation   => '',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -1228,7 +1310,8 @@
                 description   => '',
                 explanation   => '',
             },
-            {   is_plan       => TRUE,
+            {
+                is_plan       => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
                 raw           => '1..4',
@@ -1253,13 +1336,15 @@
     },
     bignum => {
         results => [
-            {   is_plan       => TRUE,
+            {
+                is_plan       => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
                 raw           => '1..2',
                 tests_planned => 2,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -1270,7 +1355,8 @@
                 description   => '',
                 explanation   => '',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -1281,7 +1367,8 @@
                 description   => '',
                 explanation   => '',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => FALSE,
                 is_ok         => FALSE,
@@ -1292,7 +1379,8 @@
                 description   => '',
                 explanation   => '',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => FALSE,
                 is_ok         => FALSE,
@@ -1325,13 +1413,15 @@
     },
     bignum_many => {
         results => [
-            {   is_plan       => TRUE,
+            {
+                is_plan       => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
                 raw           => '1..2',
                 tests_planned => 2,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -1342,7 +1432,8 @@
                 description   => '',
                 explanation   => '',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -1353,7 +1444,8 @@
                 description   => '',
                 explanation   => '',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => FALSE,
                 is_ok         => FALSE,
@@ -1364,7 +1456,8 @@
                 description   => '',
                 explanation   => '',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => FALSE,
                 is_ok         => FALSE,
@@ -1375,7 +1468,8 @@
                 description   => '',
                 explanation   => '',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => FALSE,
                 is_ok         => FALSE,
@@ -1386,7 +1480,8 @@
                 description   => '',
                 explanation   => '',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => FALSE,
                 is_ok         => FALSE,
@@ -1397,7 +1492,8 @@
                 description   => '',
                 explanation   => '',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => FALSE,
                 is_ok         => FALSE,
@@ -1408,7 +1504,8 @@
                 description   => '',
                 explanation   => '',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => FALSE,
                 is_ok         => FALSE,
@@ -1419,7 +1516,8 @@
                 description   => '',
                 explanation   => '',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => FALSE,
                 is_ok         => FALSE,
@@ -1430,7 +1528,8 @@
                 description   => '',
                 explanation   => '',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => FALSE,
                 is_ok         => FALSE,
@@ -1441,7 +1540,8 @@
                 description   => '',
                 explanation   => '',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => FALSE,
                 is_ok         => FALSE,
@@ -1481,13 +1581,15 @@
     },
     combined => {
         results => [
-            {   is_plan       => TRUE,
+            {
+                is_plan       => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
                 raw           => '1..10',
                 tests_planned => 10,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -1498,7 +1600,8 @@
                 description   => '',
                 explanation   => '',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -1509,7 +1612,8 @@
                 description   => 'basset hounds got long ears',
                 explanation   => '',
             },
-            {   actual_passed => FALSE,
+            {
+                actual_passed => FALSE,
                 is_actual_ok  => FALSE,
                 passed        => FALSE,
                 is_ok         => FALSE,
@@ -1520,7 +1624,8 @@
                 description   => 'all hell broke loose',
                 explanation   => '',
             },
-            {   actual_passed => FALSE,
+            {
+                actual_passed => FALSE,
                 is_actual_ok  => FALSE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -1531,7 +1636,8 @@
                 description   => '',
                 explanation   => 'if I heard a voice from heaven ...',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -1542,7 +1648,8 @@
                 description   => 'say "live without loving",',
                 explanation   => '',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -1553,7 +1660,8 @@
                 description   => "I'd beg off.",
                 explanation   => '',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -1564,7 +1672,8 @@
                 description   => '',
                 explanation   => 'contract negotiations',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -1575,7 +1684,8 @@
                 description   => 'Girls are such exquisite hell',
                 explanation   => '',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -1586,7 +1696,8 @@
                 description   => 'Elegy 9B',
                 explanation   => '',
             },
-            {   actual_passed => FALSE,
+            {
+                actual_passed => FALSE,
                 is_actual_ok  => FALSE,
                 passed        => FALSE,
                 is_ok         => FALSE,
@@ -1617,12 +1728,14 @@
     },
     head_end => {
         results => [
-            {   is_comment => TRUE,
+            {
+                is_comment => TRUE,
                 passed     => TRUE,
                 is_ok      => TRUE,
                 comment    => 'comments',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -1633,7 +1746,8 @@
                 description   => '',
                 explanation   => '',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -1644,7 +1758,8 @@
                 description   => '',
                 explanation   => '',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -1655,7 +1770,8 @@
                 description   => '',
                 explanation   => '',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -1666,23 +1782,27 @@
                 description   => '',
                 explanation   => '',
             },
-            {   is_comment => TRUE,
+            {
+                is_comment => TRUE,
                 passed     => TRUE,
                 is_ok      => TRUE,
                 comment    => 'comment',
             },
-            {   is_plan       => TRUE,
+            {
+                is_plan       => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
                 raw           => '1..4',
                 tests_planned => 4,
             },
-            {   is_comment => TRUE,
+            {
+                is_comment => TRUE,
                 passed     => TRUE,
                 is_ok      => TRUE,
                 comment    => 'more ignored stuff',
             },
-            {   is_comment => TRUE,
+            {
+                is_comment => TRUE,
                 passed     => TRUE,
                 is_ok      => TRUE,
                 comment    => 'and yet more',
@@ -1707,12 +1827,14 @@
     },
     head_fail => {
         results => [
-            {   is_comment => TRUE,
+            {
+                is_comment => TRUE,
                 passed     => TRUE,
                 is_ok      => TRUE,
                 comment    => 'comments',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -1723,7 +1845,8 @@
                 description   => '',
                 explanation   => '',
             },
-            {   actual_passed => FALSE,
+            {
+                actual_passed => FALSE,
                 is_actual_ok  => FALSE,
                 passed        => FALSE,
                 is_ok         => FALSE,
@@ -1734,7 +1857,8 @@
                 description   => '',
                 explanation   => '',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -1745,7 +1869,8 @@
                 description   => '',
                 explanation   => '',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -1756,23 +1881,27 @@
                 description   => '',
                 explanation   => '',
             },
-            {   is_comment => TRUE,
+            {
+                is_comment => TRUE,
                 passed     => TRUE,
                 is_ok      => TRUE,
                 comment    => 'comment',
             },
-            {   is_plan       => TRUE,
+            {
+                is_plan       => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
                 raw           => '1..4',
                 tests_planned => 4,
             },
-            {   is_comment => TRUE,
+            {
+                is_comment => TRUE,
                 passed     => TRUE,
                 is_ok      => TRUE,
                 comment    => 'more ignored stuff',
             },
-            {   is_comment => TRUE,
+            {
+                is_comment => TRUE,
                 passed     => TRUE,
                 is_ok      => TRUE,
                 comment    => 'and yet more',
@@ -1797,7 +1926,8 @@
     },
     out_of_order => {
         results => [
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -1808,7 +1938,8 @@
                 description   => '- Test that argument passing works',
                 explanation   => '',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -1820,7 +1951,8 @@
                   '- Test that passing arguments as references work',
                 explanation => '',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -1831,7 +1963,8 @@
                 description   => '- Test a normal sub',
                 explanation   => '',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -1842,7 +1975,8 @@
                 description   => '- Detach test',
                 explanation   => '',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -1853,7 +1987,8 @@
                 description   => '- Nested thread test',
                 explanation   => '',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -1864,7 +1999,8 @@
                 description   => '- Nested thread test',
                 explanation   => '',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -1875,7 +2011,8 @@
                 description   => '- Wanted 7, got 7',
                 explanation   => '',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -1886,7 +2023,8 @@
                 description   => '- Wanted 7, got 7',
                 explanation   => '',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -1897,7 +2035,8 @@
                 description   => '- Wanted 8, got 8',
                 explanation   => '',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -1908,13 +2047,15 @@
                 description   => '- Wanted 8, got 8',
                 explanation   => '',
             },
-            {   is_plan       => TRUE,
+            {
+                is_plan       => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
                 raw           => '1..15',
                 tests_planned => 15,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -1925,7 +2066,8 @@
                 description   => '',
                 explanation   => '',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -1936,7 +2078,8 @@
                 description   => '- Check that Config::threads is true',
                 explanation   => '',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -1947,7 +2090,8 @@
                 description   => '- Detach test',
                 explanation   => '',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -1959,7 +2103,8 @@
                   '- Check so that tid for threads work for main thread',
                 explanation => '',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -2006,7 +2151,8 @@
     },
     skipall => {
         results => [
-            {   is_plan       => TRUE,
+            {
+                is_plan       => TRUE,
                 raw           => '1..0 # skip: rope',
                 tests_planned => 0,
                 passed        => TRUE,
@@ -2034,7 +2180,8 @@
     },
     skipall_nomsg => {
         results => [
-            {   is_plan       => TRUE,
+            {
+                is_plan       => TRUE,
                 raw           => '1..0',
                 tests_planned => 0,
                 passed        => TRUE,
@@ -2062,13 +2209,15 @@
     },
     todo_misparse => {
         results => [
-            {   is_plan       => TRUE,
+            {
+                is_plan       => TRUE,
                 raw           => '1..1',
                 tests_planned => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
             },
-            {   actual_passed => FALSE,
+            {
+                actual_passed => FALSE,
                 is_actual_ok  => FALSE,
                 passed        => FALSE,
                 is_ok         => FALSE,
@@ -2099,13 +2248,15 @@
     },
     shbang_misparse => {
         results => [
-            {   is_plan       => TRUE,
+            {
+                is_plan       => TRUE,
                 raw           => '1..2',
                 tests_planned => 2,
                 passed        => TRUE,
                 is_ok         => TRUE,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 description   => "",
                 passed        => TRUE,
@@ -2115,7 +2266,8 @@
                 has_todo      => FALSE,
                 number        => 1,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -2145,13 +2297,15 @@
     },
     switches => {
         results => [
-            {   is_plan       => TRUE,
+            {
+                is_plan       => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
                 raw           => '1..1',
                 tests_planned => 1,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -2183,13 +2337,15 @@
     },
     inc_taint => {
         results => [
-            {   is_plan       => TRUE,
+            {
+                is_plan       => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
                 raw           => '1..1',
                 tests_planned => 1,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -2221,13 +2377,15 @@
     },
     sequence_misparse => {
         results => [
-            {   is_plan       => TRUE,
+            {
+                is_plan       => TRUE,
                 raw           => '1..5',
                 tests_planned => 5,
                 passed        => TRUE,
                 is_ok         => TRUE,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -2237,7 +2395,8 @@
                 number        => 1,
                 description   => "",
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -2247,7 +2406,8 @@
                 number        => 2,
                 description   => "",
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -2257,10 +2417,12 @@
                 number        => 3,
                 description   => "\# skipped on foobar system",
             },
-            {   is_comment => TRUE,
+            {
+                is_comment => TRUE,
                 comment    => '1234567890123456789012345678901234567890',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -2270,10 +2432,12 @@
                 number        => 4,
                 description   => "",
             },
-            {   is_comment => TRUE,
+            {
+                is_comment => TRUE,
                 comment    => '1234567890123456789012345678901234567890',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -2304,12 +2468,14 @@
 
     stdout_stderr => {
         results => [
-            {   is_comment => TRUE,
+            {
+                is_comment => TRUE,
                 passed     => TRUE,
                 is_ok      => TRUE,
                 comment    => 'comments',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -2320,7 +2486,8 @@
                 description   => '',
                 explanation   => '',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -2331,7 +2498,8 @@
                 description   => '',
                 explanation   => '',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -2342,12 +2510,14 @@
                 description   => '',
                 explanation   => '',
             },
-            {   is_comment => TRUE,
+            {
+                is_comment => TRUE,
                 passed     => TRUE,
                 is_ok      => TRUE,
                 comment    => 'comment',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -2358,17 +2528,20 @@
                 description   => '',
                 explanation   => '',
             },
-            {   is_comment => TRUE,
+            {
+                is_comment => TRUE,
                 passed     => TRUE,
                 is_ok      => TRUE,
                 comment    => 'more ignored stuff',
             },
-            {   is_comment => TRUE,
+            {
+                is_comment => TRUE,
                 passed     => TRUE,
                 is_ok      => TRUE,
                 comment    => 'and yet more',
             },
-            {   is_plan       => TRUE,
+            {
+                is_plan       => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
                 raw           => '1..4',
@@ -2395,20 +2568,23 @@
 
     junk_before_plan => {
         results => [
-            {   is_unknown => TRUE,
+            {
+                is_unknown => TRUE,
                 raw        => 'this is junk',
             },
-            {   is_comment => TRUE,
-                comment =>
-                  "this is a comment",
+            {
+                is_comment => TRUE,
+                comment    => "this is a comment",
             },
-            {   is_plan       => TRUE,
+            {
+                is_plan       => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
                 raw           => '1..1',
                 tests_planned => 1,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -2437,16 +2613,19 @@
     },
     version_good => {
         results => [
-            {   is_version => TRUE,
+            {
+                is_version => TRUE,
                 raw        => 'TAP version 13',
             },
-            {   is_plan       => TRUE,
+            {
+                is_plan       => TRUE,
                 raw           => '1..5',
                 tests_planned => 5,
                 passed        => TRUE,
                 is_ok         => TRUE,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -2456,7 +2635,8 @@
                 number        => 1,
                 description   => "",
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -2466,7 +2646,8 @@
                 number        => 2,
                 description   => "",
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -2476,7 +2657,8 @@
                 number        => 3,
                 description   => "",
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -2486,7 +2668,8 @@
                 number        => 4,
                 description   => "",
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -2516,16 +2699,19 @@
     },
     version_old => {
         results => [
-            {   is_version => TRUE,
+            {
+                is_version => TRUE,
                 raw        => 'TAP version 12',
             },
-            {   is_plan       => TRUE,
+            {
+                is_plan       => TRUE,
                 raw           => '1..5',
                 tests_planned => 5,
                 passed        => TRUE,
                 is_ok         => TRUE,
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -2535,7 +2721,8 @@
                 number        => 1,
                 description   => "",
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -2545,7 +2732,8 @@
                 number        => 2,
                 description   => "",
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -2555,7 +2743,8 @@
                 number        => 3,
                 description   => "",
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -2565,7 +2754,8 @@
                 number        => 4,
                 description   => "",
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -2596,16 +2786,19 @@
     },
     version_late => {
         results => [
-            {   is_plan       => TRUE,
+            {
+                is_plan       => TRUE,
                 raw           => '1..5',
                 tests_planned => 5,
                 passed        => TRUE,
                 is_ok         => TRUE,
             },
-            {   is_version => TRUE,
+            {
+                is_version => TRUE,
                 raw        => 'TAP version 13',
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -2615,7 +2808,8 @@
                 number        => 1,
                 description   => "",
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -2625,7 +2819,8 @@
                 number        => 2,
                 description   => "",
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -2635,7 +2830,8 @@
                 number        => 3,
                 description   => "",
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -2645,7 +2841,8 @@
                 number        => 4,
                 description   => "",
             },
-            {   actual_passed => TRUE,
+            {
+                actual_passed => TRUE,
                 is_actual_ok  => TRUE,
                 passed        => TRUE,
                 is_ok         => TRUE,
@@ -2677,8 +2874,9 @@
 );
 
 my %HANDLER_FOR = (
-    NOT_ZERO, sub { local $^W; 0 != shift }, TRUE,
-    sub { local $^W; !!shift }, FALSE, sub { local $^W; !shift },
+    NOT_ZERO, sub { local $^W; 0 != shift },
+    TRUE,     sub { local $^W; !!shift },
+    FALSE,    sub { local $^W; !shift },
 );
 
 foreach my $test ( sort keys %samples ) {
@@ -2691,8 +2889,8 @@
     # the following acrobatics are necessary to make it easy for the
     # Test::Builder::failure_output() method to be overridden when
     # TAP::Parser is not installed.  Otherwise, these tests will fail.
-    my @switches =
-      'ARRAY' eq ref $args->{switches}
+    my @switches
+      = 'ARRAY' eq ref $args->{switches}
       ? @{ $args->{switches} }
       : $args->{switches};
     $args->{switches} = [ '-Ilib', @switches ];
@@ -2704,7 +2902,7 @@
     my $error = $@;
     ok !$error, "'$test' should parse successfully" or diag $error;
 
-    if ($error) {
+    if ( $error ) {
         my $tests = 0;
         while ( my ( $method, $answer ) = each %$details ) {
             $tests += ref $answer ? 2 : 1;
@@ -2729,10 +2927,9 @@
                   "... and $method should be the correct amount ($test)";
                 is_deeply [ $parser->$method ], $answer,
                   "...... and the correct values ($test)"
-                  or diag +Data::Dumper->Dump(
-                    [ [ $parser->$method ], $answer ],
-                    [ '*got', '*expected' ]
-                  );
+                  or
+                  diag +Data::Dumper->Dump( [ [ $parser->$method ], $answer ],
+                    [ '*got', '*expected' ] );
             }
         }
     }
@@ -2741,18 +2938,17 @@
 sub analyze_test {
     my ( $test, $results, $args ) = @_;
 
-    my $parser = TAP::Parser->new($args);
+    my $parser = TAP::Parser->new( $args );
     my $count  = 1;
     while ( defined( my $result = $parser->next ) ) {
 
         my $expected = shift @$results;
-        my $desc =
-            $result->is_test
+        my $desc
+          = $result->is_test
           ? $result->description
           : $result->raw;
         $desc = $result->plan if $result->is_plan && $desc =~ /SKIP/i;
-        ok defined $expected,
-          "$test $count We should have a result for $desc";
+        ok defined $expected, "$test $count We should have a result for $desc";
         $count++;
         while ( my ( $method, $answer ) = each %$expected ) {
             if ( my $handler = $HANDLER_FOR{ $answer || '' } ) {    # yuck




More information about the tapx-dev mailing list