From a4b23759ca62e112c62afb672d4a0645cb68723c Mon Sep 17 00:00:00 2001 From: 2hwk Date: Sun, 8 Jan 2023 10:19:39 +0800 Subject: [PATCH] fix: rust test lint --- src/systems/systems/src/air_conditioning/acs_controller.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/systems/systems/src/air_conditioning/acs_controller.rs b/src/systems/systems/src/air_conditioning/acs_controller.rs index 182aecf7091..fe3d68caddb 100644 --- a/src/systems/systems/src/air_conditioning/acs_controller.rs +++ b/src/systems/systems/src/air_conditioning/acs_controller.rs @@ -1752,8 +1752,8 @@ mod acs_controller_tests { for b in 0..station_quantity_b { pax_flag_b ^= 1 << b; } - self.write_by_name(&format!("PAX_TOTAL_ROWS_A"), pax_flag_a); - self.write_by_name(&format!("PAX_TOTAL_ROWS_B"), pax_flag_b); + self.write_by_name("PAX_TOTAL_ROWS_A", pax_flag_a); + self.write_by_name("PAX_TOTAL_ROWS_B", pax_flag_b); self.command(|a| a.test_cabin.update_number_of_passengers(pax_quantity)); }