Fix tests

This commit is contained in:
Mac L
2023-06-19 10:08:13 +10:00
parent 774eb91378
commit d839620be1
2 changed files with 2 additions and 3 deletions

View File

@@ -514,7 +514,7 @@ fn beacon_node_sync_tolerance_flag() {
#[test]
fn beacon_node_small_sync_distance_modifier_flag() {
CommandLineTest::new()
.flag("beacon-node-small-sync-distance-modifer", Some("16"))
.flag("beacon-node-small-sync-distance-modifier", Some("16"))
.run()
.with_config(|config| {
assert_eq!(
@@ -526,7 +526,7 @@ fn beacon_node_small_sync_distance_modifier_flag() {
#[test]
fn beacon_node_medium_sync_distance_modifier_flag() {
CommandLineTest::new()
.flag("beacon-node-medium-sync-distance-modifer", Some("32"))
.flag("beacon-node-medium-sync-distance-modifier", Some("32"))
.run()
.with_config(|config| {
assert_eq!(

View File

@@ -299,7 +299,6 @@ impl BeaconNodeHealth {
#[cfg(test)]
mod tests {
use super::ExecutionEngineHealth::{Healthy, Unhealthy};
use super::{
BeaconNodeHealth, BeaconNodeHealthTier, BeaconNodeSyncDistanceTiers, IsOptimistic,