From: Robert 'phaylon' Sedlacek Date: Thu, 14 Jun 2012 23:02:48 +0000 (+0000) Subject: check for correct error X-Git-Tag: v0.001_001~49 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a70244d5a55e269a9dfaa21d741d3729734a44f5;p=scpubgit%2FSystem-Introspector.git check for correct error --- diff --git a/t/filehandles.t b/t/filehandles.t index a9562ea..b0c90ff 100644 --- a/t/filehandles.t +++ b/t/filehandles.t @@ -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;