in reply to STDERR in Test Results
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: STDERR in Test Results
by Bod (Parson) on Jun 19, 2023 at 15:40 UTC | |
by kcott (Archbishop) on Jun 20, 2023 at 02:09 UTC | |
by Bod (Parson) on Jun 25, 2023 at 19:31 UTC | |
by afoken (Chancellor) on Jun 25, 2023 at 22:02 UTC | |
by Bod (Parson) on Jun 26, 2023 at 19:48 UTC | |
| |
by afoken (Chancellor) on Jun 19, 2023 at 18:23 UTC |