remove another status code check is should-ice
This commit is contained in:
parent
32f3fe7a6d
commit
aa028cdc99
1 changed files with 6 additions and 1 deletions
|
@ -434,7 +434,12 @@ impl<'test> TestCx<'test> {
|
|||
}
|
||||
|
||||
fn check_correct_failure_status(&self, proc_res: &ProcRes) {
|
||||
let expected_status = Some(self.props.failure_status);
|
||||
let expected_status =
|
||||
if self.props.should_ice {
|
||||
Some(101)
|
||||
} else {
|
||||
Some(self.props.failure_status)
|
||||
};
|
||||
let received_status = proc_res.status.code();
|
||||
|
||||
if expected_status != received_status {
|
||||
|
|
Loading…
Add table
Reference in a new issue