From d839620be1901d2d73b029d5f3df37276d5313a7 Mon Sep 17 00:00:00 2001 From: Mac L Date: Mon, 19 Jun 2023 10:08:13 +1000 Subject: [PATCH] Fix tests --- lighthouse/tests/validator_client.rs | 4 ++-- validator_client/src/beacon_node_health.rs | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lighthouse/tests/validator_client.rs b/lighthouse/tests/validator_client.rs index 369783b7f8..f20ff4e0f1 100644 --- a/lighthouse/tests/validator_client.rs +++ b/lighthouse/tests/validator_client.rs @@ -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!( diff --git a/validator_client/src/beacon_node_health.rs b/validator_client/src/beacon_node_health.rs index 4f8402d2e5..1166123f56 100644 --- a/validator_client/src/beacon_node_health.rs +++ b/validator_client/src/beacon_node_health.rs @@ -299,7 +299,6 @@ impl BeaconNodeHealth { #[cfg(test)] mod tests { - use super::ExecutionEngineHealth::{Healthy, Unhealthy}; use super::{ BeaconNodeHealth, BeaconNodeHealthTier, BeaconNodeSyncDistanceTiers, IsOptimistic,