check for correct error
Robert 'phaylon' Sedlacek [Thu, 14 Jun 2012 23:02:48 +0000 (23:02 +0000)]
t/filehandles.t

index a9562ea..b0c90ff 100644 (file)
@@ -19,6 +19,7 @@ do {
     my $fail_data;
     $fail_data = $fail_probe->gather;
     ok $fail_data, 'received data';
+    like $fail_data->{error}, qr{lsoffake}, 'correct error is set';
 };
 
 done_testing;