diff --git a/harmony/src/infra/opnsense/load_balancer.rs b/harmony/src/infra/opnsense/load_balancer.rs index cae414a..dd32a03 100644 --- a/harmony/src/infra/opnsense/load_balancer.rs +++ b/harmony/src/infra/opnsense/load_balancer.rs @@ -370,13 +370,10 @@ mod tests { let result = get_servers_for_backend(&backend, &haproxy); // Check the result - assert_eq!( - result, - vec![BackendServer { - address: "192.168.1.1".to_string(), - port: 80, - },] - ); + assert_eq!(result, vec![BackendServer { + address: "192.168.1.1".to_string(), + port: 80, + },]); } #[test] fn test_get_servers_for_backend_no_linked_servers() { @@ -433,18 +430,15 @@ mod tests { // Call the function let result = get_servers_for_backend(&backend, &haproxy); // Check the result - assert_eq!( - result, - vec![ - BackendServer { - address: "some-hostname.test.mcd".to_string(), - port: 80, - }, - BackendServer { - address: "192.168.1.2".to_string(), - port: 8080, - }, - ] - ); + assert_eq!(result, vec![ + BackendServer { + address: "some-hostname.test.mcd".to_string(), + port: 80, + }, + BackendServer { + address: "192.168.1.2".to_string(), + port: 8080, + }, + ]); } }