Skip to content

Commit 39cb95d

Browse files
committed
tests: inline trivial binding
1 parent 0f1609b commit 39cb95d

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

tests/x509_limbo.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,8 @@ fn evaluate_testcase(tc: &Testcase, exceptions: &HashMap<String, Exception>) ->
6969
}
7070

7171
let validation_result = run_validation(tc);
72-
let actual_success = validation_result.is_ok();
73-
7472
if let Some(exception) = exceptions.get(tc.id.as_str()) {
75-
if actual_success == (exception.actual == "SUCCESS") {
73+
if validation_result.is_ok() == (exception.actual == "SUCCESS") {
7674
return Outcome::KnownDivergence;
7775
}
7876
// If the exception no longer applies (behavior changed), fall through to normal comparison

0 commit comments

Comments
 (0)