Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Seriously Test::Builder is a PITA, use Fennec

* Can't use Fennec here cause we will soon be a dependancy of Fennec
  • Loading branch information...
commit 3b59f492e2ab6a94b6adc2291cc3eb5f733d3e15 1 parent 2e2cd79
Chad Granum authored August 26, 2010

Showing 1 changed file with 12 additions and 11 deletions. Show diff stats Hide diff stats

  1. 23  t/Child.t
23  t/Child.t
@@ -84,17 +84,18 @@ my $end = time;
84 84
 
85 85
 ok( $end - $start > 2, "No autoflush" );
86 86
 
87  
-SKIP: if ($^O eq 'MSWin32') {
88  
-    skip "detach is not available on win32", 1;
89  
-}
90  
-else {
91  
-    $proc = $CLASS->new( sub {
92  
-        my $self = shift;
93  
-        $self->detach;
94  
-        $self->say( $self->detached );
95  
-    }, pipe => 1 )->start;
96  
-
97  
-    is( $proc->read(), $proc->pid . "\n", "Child detached" );
  87
+SKIP: {
  88
+    if ($^O eq 'MSWin32') {
  89
+        skip "detach is not available on win32", 1;
  90
+    }
  91
+    else {
  92
+        $proc = $CLASS->new( sub {
  93
+            my $self = shift;
  94
+            $self->detach;
  95
+            $self->say( $self->detached );
  96
+        }, pipe => 1 )->start;
  97
+        is( $proc->read(), $proc->pid . "\n", "Child detached" );
  98
+    }
98 99
 }
99 100
 
100 101
 done_testing;

0 notes on commit 3b59f49

Please sign in to comment.
Something went wrong with that request. Please try again.