consensus: Simplify error handling in a test

Part of #477.
This commit is contained in:
teor 2020-06-22 10:07:16 +10:00
parent f1ce4dcf14
commit f40bfff7c0
1 changed files with 2 additions and 5 deletions

View File

@ -267,11 +267,8 @@ mod tests {
.await; .await;
ensure!( ensure!(
match verify_result { // TODO(teor || jlusby): check error string
Ok(_) => false, verify_result.is_err(),
// TODO(teor || jlusby): check error string
_ => true,
},
"unexpected result kind: {:?}", "unexpected result kind: {:?}",
verify_result verify_result
); );