G'day Bod,
The way I normally deal with this is along these lines:
my $expected_error = 1; my $got_error = 0; eval { # code expected to die with error here 1; } or do { $got_error = 1; }; is $got_error, $expected_error, 'test name';
— Ken
In reply to Re: STDERR in Test Results
by kcott
in thread STDERR in Test Results
by Bod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |