Fix test warnings on Rust 1.56.0 (#2743)

## Issue Addressed

Continuation of #2728, fix the fork choice tests for Rust 1.56.0 so that `unstable` is free of warnings.

CI will be broken until this PR merges, because we strictly enforce the absence of warnings (even for tests)
This commit is contained in:
Michael Sproul 2021-10-22 04:49:51 +00:00
parent d4819bfd42
commit bf1667a904

View File

@ -602,7 +602,7 @@ macro_rules! assert_invalid_block {
$err,
$( ForkChoiceError::InvalidBlock($error) ) |+ $( if $guard )?
),
);
)
};
}
@ -710,7 +710,7 @@ macro_rules! assert_invalid_attestation {
),
"{:?}",
$err
);
)
};
}