From 810baec9b39bef3d7827933da2d3820305f15e2e Mon Sep 17 00:00:00 2001 From: Thomas Locher Date: Mon, 20 Nov 2023 16:50:50 +0100 Subject: [PATCH] Reduced the number of forex sources from 11 to 10. --- src/xrc/src/forex.rs | 2 +- src/xrc/src/periodic.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xrc/src/forex.rs b/src/xrc/src/forex.rs index dc463f20..f955c6c2 100644 --- a/src/xrc/src/forex.rs +++ b/src/xrc/src/forex.rs @@ -1487,7 +1487,7 @@ mod test { fn is_available_ipv4() { let available_forex_sources_count = FOREX_SOURCES.iter().filter(|e| e.is_available()).count(); - assert_eq!(available_forex_sources_count, 11); + assert_eq!(available_forex_sources_count, 10); } #[test] diff --git a/src/xrc/src/periodic.rs b/src/xrc/src/periodic.rs index 9a06da1a..a407f8e3 100644 --- a/src/xrc/src/periodic.rs +++ b/src/xrc/src/periodic.rs @@ -469,7 +469,7 @@ mod test { let timestamp = 1680220800; let forexes_with_timestamps_and_context = get_forexes_with_timestamps_and_context(timestamp); - assert_eq!(forexes_with_timestamps_and_context.len(), 11); + assert_eq!(forexes_with_timestamps_and_context.len(), 10); assert!(matches!( forexes_with_timestamps_and_context[0].0,