From a6af6e5ce8cd565839c36976460f9cd9e28e7e3d Mon Sep 17 00:00:00 2001 From: Arnaud Mallen Date: Wed, 9 Jul 2025 17:16:27 +0200 Subject: [PATCH 01/14] Rust lint --- rust/sbp/src/sbp_iter_ext.rs | 2 +- rust/sbp/src/ser.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rust/sbp/src/sbp_iter_ext.rs b/rust/sbp/src/sbp_iter_ext.rs index e87af0d1c7..a237ef5722 100644 --- a/rust/sbp/src/sbp_iter_ext.rs +++ b/rust/sbp/src/sbp_iter_ext.rs @@ -23,7 +23,7 @@ pub trait SbpIterExt: Iterator { Self: Iterator> + Sized, { HandleErrorsIter::new(self, move |e| { - log::log!(level, "{}", e); + log::log!(level, "{e}"); match e { DeserializeError::IoError(_) => ControlFlow::Break, _ => ControlFlow::Continue, diff --git a/rust/sbp/src/ser.rs b/rust/sbp/src/ser.rs index 0665fe6302..34472958b9 100644 --- a/rust/sbp/src/ser.rs +++ b/rust/sbp/src/ser.rs @@ -199,7 +199,7 @@ where fn encode(&mut self, msg: T, dst: &mut BytesMut) -> Result<(), Self::Error> { if let Err(err) = to_buffer(dst, msg.borrow()) { - log::error!("error serializing message: {}", err); + log::error!("error serializing message: {err}"); } Ok(()) } From e17e97e0b216d09688acfeb0d3539d7c70e335c7 Mon Sep 17 00:00:00 2001 From: Arnaud Mallen Date: Wed, 9 Jul 2025 17:42:16 +0200 Subject: [PATCH 02/14] Update template --- .../sbpg/targets/resources/rust/test/sbp_tests_template.rs | 2 +- rust/sbp2json/src/lib.rs | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/generator/sbpg/targets/resources/rust/test/sbp_tests_template.rs b/generator/sbpg/targets/resources/rust/test/sbp_tests_template.rs index 32f4c81081..27b1ac9947 100644 --- a/generator/sbpg/targets/resources/rust/test/sbp_tests_template.rs +++ b/generator/sbpg/targets/resources/rust/test/sbp_tests_template.rs @@ -51,7 +51,7 @@ fn test_(((s.suite_name|snake_case)))() match &sbp_msg { sbp::messages::Sbp::(((t.msg.name|lower_acronyms)))(msg) => { let msg_type = msg.message_type().unwrap(); - assert_eq!( msg_type, (((t.msg_type))), "Incorrect message type, expected (((t.msg_type))), is {}", msg_type); + assert_eq!( msg_type, (((t.msg_type))), "Incorrect message type, expected (((t.msg_type))), is {msg_type}"); let sender_id = msg.sender_id().unwrap(); assert_eq!(sender_id, (((t.sbp.sender))), "incorrect sender id, expected (((t.sbp.sender))), is {sender_id}"); ((*- for f in t.fieldskeys *))(((compare_value( (((f))), (((t.fields[f]))) ))))((*- endfor *)) diff --git a/rust/sbp2json/src/lib.rs b/rust/sbp2json/src/lib.rs index 2503ed9fc4..a29776a5ca 100644 --- a/rust/sbp2json/src/lib.rs +++ b/rust/sbp2json/src/lib.rs @@ -30,9 +30,8 @@ impl std::str::FromStr for ErrorHandlerOptions { } s => Err(format!( - "Unable to cast option {} to a valid error handler option. \ + "Unable to cast option {s} to a valid error handler option. \ Valid options are 'return', 'skip', & 'to-invalid')", - s )), } } From fa2abfd88ece56e379be5141030b5cb5070c9203 Mon Sep 17 00:00:00 2001 From: Arnaud Mallen Date: Wed, 9 Jul 2025 17:43:45 +0200 Subject: [PATCH 03/14] Fix rust? --- ...to_check_sbp_acquisition_msg_acq_result.rs | 3 +- ...ck_sbp_acquisition_msg_acq_result_dep_a.rs | 18 ++++------ ...ck_sbp_acquisition_msg_acq_result_dep_b.rs | 15 +++------ ...ck_sbp_acquisition_msg_acq_result_dep_c.rs | 15 +++------ ...heck_sbp_acquisition_msg_acq_sv_profile.rs | 3 +- ..._sbp_acquisition_msg_acq_sv_profile_dep.rs | 3 +- ...p_bootload_msg_bootloader_handshake_req.rs | 3 +- ..._bootload_msg_bootloader_handshake_resp.rs | 6 ++-- ..._sbp_bootload_msg_bootloader_jumpto_app.rs | 3 +- ...eck_sbp_bootload_msg_nap_device_dna_req.rs | 3 +- ...ck_sbp_bootload_msg_nap_device_dna_resp.rs | 3 +- ...auto_check_sbp_ext_events_msg_ext_event.rs | 3 +- ...check_sbp_file_io_msg_fileio_config_req.rs | 3 +- ...heck_sbp_file_io_msg_fileio_config_resp.rs | 3 +- ...eck_sbp_file_io_msg_fileio_read_dir_req.rs | 3 +- ...ck_sbp_file_io_msg_fileio_read_dir_resp.rs | 3 +- ...o_check_sbp_file_io_msg_fileio_read_req.rs | 3 +- ..._check_sbp_file_io_msg_fileio_read_resp.rs | 3 +- ...uto_check_sbp_file_io_msg_fileio_remove.rs | 3 +- ...check_sbp_file_io_msg_fileio_write_resp.rs | 3 +- .../auto_check_sbp_flash_msg_flash_done.rs | 3 +- .../auto_check_sbp_flash_msg_flash_erase.rs | 3 +- .../auto_check_sbp_flash_msg_flash_program.rs | 3 +- ...auto_check_sbp_flash_msg_flash_read_req.rs | 3 +- ...uto_check_sbp_flash_msg_flash_read_resp.rs | 3 +- ...ck_sbp_flash_msg_m25_flash_write_status.rs | 3 +- ...eck_sbp_flash_msg_stm_flash_lock_sector.rs | 3 +- ...k_sbp_flash_msg_stm_flash_unlock_sector.rs | 3 +- ...o_check_sbp_flash_msg_stm_unique_id_req.rs | 3 +- ..._check_sbp_flash_msg_stm_unique_id_resp.rs | 3 +- .../auto_check_sbp_imu_msg_imu_aux.rs | 3 +- .../auto_check_sbp_imu_msg_imu_comp.rs | 3 +- .../auto_check_sbp_imu_msg_imu_raw.rs | 3 +- ...uto_check_sbp_integrity_msg_acknowledge.rs | 3 +- ...k_sbp_integrity_msg_ssr_flag_high_level.rs | 3 +- ...ty_msg_ssr_flag_iono_grid_point_sat_los.rs | 3 +- ...integrity_msg_ssr_flag_iono_grid_points.rs | 3 +- ...ntegrity_msg_ssr_flag_iono_tile_sat_los.rs | 3 +- ...k_sbp_integrity_msg_ssr_flag_satellites.rs | 3 +- ...ntegrity_msg_ssr_flag_tropo_grid_points.rs | 3 +- ...uto_check_sbp_linux_msg_linux_cpu_state.rs | 3 +- ...eck_sbp_linux_msg_linux_cpu_state_dep_a.rs | 3 +- ...uto_check_sbp_linux_msg_linux_mem_state.rs | 3 +- ...eck_sbp_linux_msg_linux_mem_state_dep_a.rs | 3 +- ...ck_sbp_linux_msg_linux_process_fd_count.rs | 3 +- ..._sbp_linux_msg_linux_process_fd_summary.rs | 3 +- ...p_linux_msg_linux_process_socket_counts.rs | 3 +- ...p_linux_msg_linux_process_socket_queues.rs | 3 +- ..._check_sbp_linux_msg_linux_socket_usage.rs | 3 +- ...uto_check_sbp_linux_msg_linux_sys_state.rs | 3 +- ...eck_sbp_linux_msg_linux_sys_state_dep_a.rs | 3 +- .../auto_check_sbp_logging_msg_fwd.rs | 3 +- .../auto_check_sbp_logging_msg_log.rs | 3 +- .../auto_check_sbp_logging_msg_print_dep.rs | 18 ++++------ .../auto_check_sbp_mag_msg_mag_raw.rs | 3 +- ...heck_sbp_navigation_msg_age_corrections.rs | 3 +- ..._check_sbp_navigation_msg_baseline_ecef.rs | 15 +++------ ..._sbp_navigation_msg_baseline_ecef_dep_a.rs | 33 +++++++------------ ...p_navigation_msg_baseline_heading_dep_a.rs | 3 +- ...o_check_sbp_navigation_msg_baseline_ned.rs | 15 +++------ ...k_sbp_navigation_msg_baseline_ned_dep_a.rs | 33 +++++++------------ .../auto_check_sbp_navigation_msg_dops.rs | 3 +- ...uto_check_sbp_navigation_msg_dops_dep_a.rs | 27 +++++---------- .../auto_check_sbp_navigation_msg_gps_time.rs | 15 +++------ ...check_sbp_navigation_msg_gps_time_dep_a.rs | 33 +++++++------------ ..._check_sbp_navigation_msg_gps_time_gnss.rs | 15 +++------ .../auto_check_sbp_navigation_msg_pos_ecef.rs | 12 +++---- ...o_check_sbp_navigation_msg_pos_ecef_cov.rs | 3 +- ...ck_sbp_navigation_msg_pos_ecef_cov_gnss.rs | 3 +- ...check_sbp_navigation_msg_pos_ecef_dep_a.rs | 33 +++++++------------ ...o_check_sbp_navigation_msg_pos_ecefgnss.rs | 3 +- .../auto_check_sbp_navigation_msg_pos_llh.rs | 15 +++------ ...to_check_sbp_navigation_msg_pos_llh_acc.rs | 3 +- ...to_check_sbp_navigation_msg_pos_llh_cov.rs | 3 +- ...eck_sbp_navigation_msg_pos_llh_cov_gnss.rs | 3 +- ..._check_sbp_navigation_msg_pos_llh_dep_a.rs | 33 +++++++------------ ...o_check_sbp_navigation_msg_pos_llh_gnss.rs | 3 +- ..._check_sbp_navigation_msg_pose_relative.rs | 3 +- ...eck_sbp_navigation_msg_protection_level.rs | 3 +- ...p_navigation_msg_protection_level_dep_a.rs | 3 +- ...bp_navigation_msg_reference_frame_param.rs | 3 +- ...heck_sbp_navigation_msg_utc_leap_second.rs | 3 +- .../auto_check_sbp_navigation_msg_utc_time.rs | 3 +- ..._check_sbp_navigation_msg_utc_time_gnss.rs | 3 +- .../auto_check_sbp_navigation_msg_vel_body.rs | 3 +- .../auto_check_sbp_navigation_msg_vel_cog.rs | 9 ++--- .../auto_check_sbp_navigation_msg_vel_ecef.rs | 15 +++------ ...o_check_sbp_navigation_msg_vel_ecef_cov.rs | 3 +- ...ck_sbp_navigation_msg_vel_ecef_cov_gnss.rs | 3 +- ...check_sbp_navigation_msg_vel_ecef_dep_a.rs | 33 +++++++------------ ..._check_sbp_navigation_msg_vel_ecef_gnss.rs | 3 +- .../auto_check_sbp_navigation_msg_vel_ned.rs | 15 +++------ ...eck_sbp_navigation_msg_vel_ned_cov_gnss.rs | 3 +- ..._check_sbp_navigation_msg_vel_ned_dep_a.rs | 33 +++++++------------ ...o_check_sbp_navigation_msg_vel_ned_gnss.rs | 3 +- ...uto_check_sbp_navigation_msg_vel_nedcov.rs | 3 +- .../auto_check_sbp_ndb_msg_ndb_event.rs | 3 +- ...o_check_sbp_observation_msg_almanac_glo.rs | 3 +- ...eck_sbp_observation_msg_almanac_glo_dep.rs | 3 +- ...o_check_sbp_observation_msg_almanac_gps.rs | 3 +- ...eck_sbp_observation_msg_almanac_gps_dep.rs | 3 +- ...check_sbp_observation_msg_base_pos_ecef.rs | 3 +- ..._check_sbp_observation_msg_base_pos_llh.rs | 3 +- ...check_sbp_observation_msg_ephemeris_bds.rs | 3 +- ...eck_sbp_observation_msg_ephemeris_dep_a.rs | 3 +- ...eck_sbp_observation_msg_ephemeris_dep_b.rs | 18 ++++------ ...eck_sbp_observation_msg_ephemeris_dep_c.rs | 3 +- ...eck_sbp_observation_msg_ephemeris_dep_d.rs | 3 +- ...check_sbp_observation_msg_ephemeris_gal.rs | 3 +- ...sbp_observation_msg_ephemeris_gal_dep_a.rs | 3 +- ...check_sbp_observation_msg_ephemeris_glo.rs | 3 +- ...sbp_observation_msg_ephemeris_glo_dep_a.rs | 3 +- ...sbp_observation_msg_ephemeris_glo_dep_b.rs | 3 +- ...sbp_observation_msg_ephemeris_glo_dep_c.rs | 3 +- ...sbp_observation_msg_ephemeris_glo_dep_d.rs | 3 +- ...check_sbp_observation_msg_ephemeris_gps.rs | 3 +- ...sbp_observation_msg_ephemeris_gps_dep_e.rs | 3 +- ...sbp_observation_msg_ephemeris_gps_dep_f.rs | 3 +- ...heck_sbp_observation_msg_ephemeris_qzss.rs | 3 +- ...heck_sbp_observation_msg_ephemeris_sbas.rs | 3 +- ...bp_observation_msg_ephemeris_sbas_dep_a.rs | 3 +- ...bp_observation_msg_ephemeris_sbas_dep_b.rs | 3 +- ...to_check_sbp_observation_msg_glo_biases.rs | 3 +- ...uto_check_sbp_observation_msg_gnss_capb.rs | 3 +- ...o_check_sbp_observation_msg_group_delay.rs | 3 +- ...k_sbp_observation_msg_group_delay_dep_a.rs | 3 +- ...k_sbp_observation_msg_group_delay_dep_b.rs | 3 +- .../auto_check_sbp_observation_msg_iono.rs | 3 +- .../auto_check_sbp_observation_msg_obs.rs | 6 ++-- ...uto_check_sbp_observation_msg_obs_dep_a.rs | 18 ++++------ ...uto_check_sbp_observation_msg_obs_dep_b.rs | 15 +++------ ...uto_check_sbp_observation_msg_obs_dep_c.rs | 15 +++------ .../auto_check_sbp_observation_msg_osr.rs | 3 +- ...auto_check_sbp_observation_msg_sv_az_el.rs | 3 +- ...bservation_msg_sv_configuration_gps_dep.rs | 3 +- ..._check_sbp_orientation_msg_angular_rate.rs | 3 +- ...ck_sbp_orientation_msg_baseline_heading.rs | 3 +- ..._check_sbp_orientation_msg_orient_euler.rs | 3 +- ...o_check_sbp_orientation_msg_orient_quat.rs | 3 +- .../auto_check_sbp_piksi_msg_almanac.rs | 3 +- ...o_check_sbp_piksi_msg_cell_modem_status.rs | 3 +- ...auto_check_sbp_piksi_msg_command_output.rs | 3 +- .../auto_check_sbp_piksi_msg_command_req.rs | 3 +- .../auto_check_sbp_piksi_msg_command_resp.rs | 3 +- .../auto_check_sbp_piksi_msg_cw_results.rs | 3 +- .../auto_check_sbp_piksi_msg_cw_start.rs | 3 +- ...auto_check_sbp_piksi_msg_device_monitor.rs | 15 +++------ ...auto_check_sbp_piksi_msg_front_end_gain.rs | 3 +- .../auto_check_sbp_piksi_msg_iar_state.rs | 21 ++++-------- .../auto_check_sbp_piksi_msg_init_base_dep.rs | 3 +- ...auto_check_sbp_piksi_msg_mask_satellite.rs | 3 +- ..._check_sbp_piksi_msg_mask_satellite_dep.rs | 3 +- ...k_sbp_piksi_msg_network_bandwidth_usage.rs | 3 +- ...o_check_sbp_piksi_msg_network_state_req.rs | 3 +- ..._check_sbp_piksi_msg_network_state_resp.rs | 3 +- .../auto_check_sbp_piksi_msg_reset.rs | 3 +- .../auto_check_sbp_piksi_msg_reset_dep.rs | 3 +- .../auto_check_sbp_piksi_msg_reset_filters.rs | 3 +- .../auto_check_sbp_piksi_msg_set_time.rs | 3 +- .../auto_check_sbp_piksi_msg_specan.rs | 3 +- .../auto_check_sbp_piksi_msg_specan_dep.rs | 3 +- .../auto_check_sbp_piksi_msg_thread_state.rs | 33 +++++++------------ .../auto_check_sbp_piksi_msg_uart_state.rs | 9 ++--- ...to_check_sbp_piksi_msg_uart_state_dep_a.rs | 18 ++++------ ...eck_sbp_profiling_msg_measurement_point.rs | 3 +- ...rofiling_msg_profiling_resource_counter.rs | 3 +- ...sbp_profiling_msg_profiling_system_info.rs | 3 +- ...sbp_profiling_msg_profiling_thread_info.rs | 3 +- .../auto_check_sbp_sbas_msg_sbas_raw.rs | 3 +- ...ettings_msg_settings_read_by_index_done.rs | 3 +- ...settings_msg_settings_read_by_index_req.rs | 3 +- ...ettings_msg_settings_read_by_index_resp.rs | 15 +++------ ...heck_sbp_settings_msg_settings_read_req.rs | 3 +- ...eck_sbp_settings_msg_settings_read_resp.rs | 3 +- ...heck_sbp_settings_msg_settings_register.rs | 3 +- ...sbp_settings_msg_settings_register_resp.rs | 3 +- ...to_check_sbp_settings_msg_settings_save.rs | 3 +- ...o_check_sbp_settings_msg_settings_write.rs | 3 +- ...ck_sbp_settings_msg_settings_write_resp.rs | 3 +- ...heck_sbp_signing_msg_aes_cmac_signature.rs | 3 +- ...check_sbp_signing_msg_certificate_chain.rs | 3 +- ...k_sbp_signing_msg_certificate_chain_dep.rs | 3 +- ...check_sbp_signing_msg_ecdsa_certificate.rs | 3 +- ...o_check_sbp_signing_msg_ecdsa_signature.rs | 3 +- ...k_sbp_signing_msg_ecdsa_signature_dep_a.rs | 3 +- ...k_sbp_signing_msg_ecdsa_signature_dep_b.rs | 3 +- ...sbp_signing_msg_ed25519_certificate_dep.rs | 3 +- ...sbp_signing_msg_ed25519_signature_dep_a.rs | 3 +- ...sbp_signing_msg_ed25519_signature_dep_b.rs | 3 +- ...o_check_sbp_solution_meta_msg_soln_meta.rs | 3 +- ...k_sbp_solution_meta_msg_soln_meta_dep_a.rs | 3 +- .../auto_check_sbp_ssr_msg_ssr_code_biases.rs | 3 +- ...bp_ssr_msg_ssr_code_phase_biases_bounds.rs | 3 +- ...k_sbp_ssr_msg_ssr_grid_definition_dep_a.rs | 3 +- ...heck_sbp_ssr_msg_ssr_gridded_correction.rs | 3 +- ...p_ssr_msg_ssr_gridded_correction_bounds.rs | 6 ++-- ...bp_ssr_msg_ssr_gridded_correction_dep_a.rs | 3 +- ...msg_ssr_gridded_correction_no_std_dep_a.rs | 3 +- .../auto_check_sbp_ssr_msg_ssr_orbit_clock.rs | 3 +- ...heck_sbp_ssr_msg_ssr_orbit_clock_bounds.rs | 3 +- ..._msg_ssr_orbit_clock_bounds_degradation.rs | 3 +- ...check_sbp_ssr_msg_ssr_orbit_clock_dep_a.rs | 3 +- ...auto_check_sbp_ssr_msg_ssr_phase_biases.rs | 3 +- ...uto_check_sbp_ssr_msg_ssr_satellite_apc.rs | 3 +- ...eck_sbp_ssr_msg_ssr_satellite_apc_dep_a.rs | 3 +- ...o_check_sbp_ssr_msg_ssr_stec_correction.rs | 3 +- ...eck_sbp_ssr_msg_ssr_stec_correction_dep.rs | 3 +- ...k_sbp_ssr_msg_ssr_stec_correction_dep_a.rs | 3 +- ...o_check_sbp_ssr_msg_ssr_tile_definition.rs | 3 +- ...k_sbp_ssr_msg_ssr_tile_definition_dep_a.rs | 3 +- ...k_sbp_ssr_msg_ssr_tile_definition_dep_b.rs | 3 +- ...uto_check_sbp_system_msg_csac_telemetry.rs | 3 +- ...ck_sbp_system_msg_csac_telemetry_labels.rs | 3 +- .../auto_check_sbp_system_msg_dgnss_status.rs | 3 +- ...o_check_sbp_system_msg_gnss_time_offset.rs | 3 +- .../auto_check_sbp_system_msg_group_meta.rs | 6 ++-- .../auto_check_sbp_system_msg_heartbeat.rs | 6 ++-- .../auto_check_sbp_system_msg_ins_status.rs | 3 +- .../auto_check_sbp_system_msg_ins_updates.rs | 3 +- .../auto_check_sbp_system_msg_pps_time.rs | 3 +- ...o_check_sbp_system_msg_sensor_aid_event.rs | 3 +- .../auto_check_sbp_system_msg_startup.rs | 6 ++-- ...uto_check_sbp_system_msg_status_journal.rs | 6 ++-- ...auto_check_sbp_system_msg_status_report.rs | 3 +- .../auto_check_sbp_telemetry_msg_tel_sv.rs | 3 +- ...heck_sbp_tracking_msg_measurement_state.rs | 3 +- ...auto_check_sbp_tracking_msg_tracking_iq.rs | 3 +- ...heck_sbp_tracking_msg_tracking_iq_dep_a.rs | 3 +- ...heck_sbp_tracking_msg_tracking_iq_dep_b.rs | 3 +- ...o_check_sbp_tracking_msg_tracking_state.rs | 18 ++++------ ...k_sbp_tracking_msg_tracking_state_dep_b.rs | 3 +- ...racking_msg_tracking_state_detailed_dep.rs | 15 +++------ ...cking_msg_tracking_state_detailed_dep_a.rs | 3 +- ...ck_sbp_tracking_msgtracking_state_dep_a.rs | 18 ++++------ .../auto_check_sbp_user_msg_user_data.rs | 3 +- .../auto_check_sbp_vehicle_msg_odometry.rs | 3 +- .../auto_check_sbp_vehicle_msg_wheeltick.rs | 3 +- 237 files changed, 436 insertions(+), 872 deletions(-) diff --git a/rust/sbp/tests/integration/auto_check_sbp_acquisition_msg_acq_result.rs b/rust/sbp/tests/integration/auto_check_sbp_acquisition_msg_acq_result.rs index d10bdb1bf7..31f518cb7c 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_acquisition_msg_acq_result.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_acquisition_msg_acq_result.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_acquisition_msg_acq_result() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x2f, - "Incorrect message type, expected 0x2f, is {}", - msg_type + "Incorrect message type, expected 0x2f, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_acquisition_msg_acq_result_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_acquisition_msg_acq_result_dep_a.rs index 2bdc895d2f..2b48b70775 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_acquisition_msg_acq_result_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_acquisition_msg_acq_result_dep_a.rs @@ -37,8 +37,7 @@ fn test_auto_check_sbp_acquisition_msg_acq_result_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x15, - "Incorrect message type, expected 0x15, is {}", - msg_type + "Incorrect message type, expected 0x15, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -88,8 +87,7 @@ fn test_auto_check_sbp_acquisition_msg_acq_result_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x15, - "Incorrect message type, expected 0x15, is {}", - msg_type + "Incorrect message type, expected 0x15, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -139,8 +137,7 @@ fn test_auto_check_sbp_acquisition_msg_acq_result_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x15, - "Incorrect message type, expected 0x15, is {}", - msg_type + "Incorrect message type, expected 0x15, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -191,8 +188,7 @@ fn test_auto_check_sbp_acquisition_msg_acq_result_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x15, - "Incorrect message type, expected 0x15, is {}", - msg_type + "Incorrect message type, expected 0x15, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -242,8 +238,7 @@ fn test_auto_check_sbp_acquisition_msg_acq_result_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x15, - "Incorrect message type, expected 0x15, is {}", - msg_type + "Incorrect message type, expected 0x15, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -293,8 +288,7 @@ fn test_auto_check_sbp_acquisition_msg_acq_result_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x15, - "Incorrect message type, expected 0x15, is {}", - msg_type + "Incorrect message type, expected 0x15, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_acquisition_msg_acq_result_dep_b.rs b/rust/sbp/tests/integration/auto_check_sbp_acquisition_msg_acq_result_dep_b.rs index e5abcbeab5..844b46a677 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_acquisition_msg_acq_result_dep_b.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_acquisition_msg_acq_result_dep_b.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_acquisition_msg_acq_result_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x14, - "Incorrect message type, expected 0x14, is {}", - msg_type + "Incorrect message type, expected 0x14, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -100,8 +99,7 @@ fn test_auto_check_sbp_acquisition_msg_acq_result_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x14, - "Incorrect message type, expected 0x14, is {}", - msg_type + "Incorrect message type, expected 0x14, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -162,8 +160,7 @@ fn test_auto_check_sbp_acquisition_msg_acq_result_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x14, - "Incorrect message type, expected 0x14, is {}", - msg_type + "Incorrect message type, expected 0x14, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -224,8 +221,7 @@ fn test_auto_check_sbp_acquisition_msg_acq_result_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x14, - "Incorrect message type, expected 0x14, is {}", - msg_type + "Incorrect message type, expected 0x14, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -286,8 +282,7 @@ fn test_auto_check_sbp_acquisition_msg_acq_result_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x14, - "Incorrect message type, expected 0x14, is {}", - msg_type + "Incorrect message type, expected 0x14, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_acquisition_msg_acq_result_dep_c.rs b/rust/sbp/tests/integration/auto_check_sbp_acquisition_msg_acq_result_dep_c.rs index 3cca197d51..69ddb3acf3 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_acquisition_msg_acq_result_dep_c.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_acquisition_msg_acq_result_dep_c.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_acquisition_msg_acq_result_dep_c() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x1f, - "Incorrect message type, expected 0x1f, is {}", - msg_type + "Incorrect message type, expected 0x1f, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -100,8 +99,7 @@ fn test_auto_check_sbp_acquisition_msg_acq_result_dep_c() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x1f, - "Incorrect message type, expected 0x1f, is {}", - msg_type + "Incorrect message type, expected 0x1f, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -162,8 +160,7 @@ fn test_auto_check_sbp_acquisition_msg_acq_result_dep_c() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x1f, - "Incorrect message type, expected 0x1f, is {}", - msg_type + "Incorrect message type, expected 0x1f, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -224,8 +221,7 @@ fn test_auto_check_sbp_acquisition_msg_acq_result_dep_c() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x1f, - "Incorrect message type, expected 0x1f, is {}", - msg_type + "Incorrect message type, expected 0x1f, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -286,8 +282,7 @@ fn test_auto_check_sbp_acquisition_msg_acq_result_dep_c() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x1f, - "Incorrect message type, expected 0x1f, is {}", - msg_type + "Incorrect message type, expected 0x1f, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_acquisition_msg_acq_sv_profile.rs b/rust/sbp/tests/integration/auto_check_sbp_acquisition_msg_acq_sv_profile.rs index 7119c2c2d4..c5b85b5382 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_acquisition_msg_acq_sv_profile.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_acquisition_msg_acq_sv_profile.rs @@ -41,8 +41,7 @@ fn test_auto_check_sbp_acquisition_msg_acq_sv_profile() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x2e, - "Incorrect message type, expected 0x2e, is {}", - msg_type + "Incorrect message type, expected 0x2e, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_acquisition_msg_acq_sv_profile_dep.rs b/rust/sbp/tests/integration/auto_check_sbp_acquisition_msg_acq_sv_profile_dep.rs index 2a18c29b1a..4f32f4cd20 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_acquisition_msg_acq_sv_profile_dep.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_acquisition_msg_acq_sv_profile_dep.rs @@ -41,8 +41,7 @@ fn test_auto_check_sbp_acquisition_msg_acq_sv_profile_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x1e, - "Incorrect message type, expected 0x1e, is {}", - msg_type + "Incorrect message type, expected 0x1e, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_bootload_msg_bootloader_handshake_req.rs b/rust/sbp/tests/integration/auto_check_sbp_bootload_msg_bootloader_handshake_req.rs index 1833f1d8fc..28136d3cb0 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_bootload_msg_bootloader_handshake_req.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_bootload_msg_bootloader_handshake_req.rs @@ -35,8 +35,7 @@ fn test_auto_check_sbp_bootload_msg_bootloader_handshake_req() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xb3, - "Incorrect message type, expected 0xb3, is {}", - msg_type + "Incorrect message type, expected 0xb3, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_bootload_msg_bootloader_handshake_resp.rs b/rust/sbp/tests/integration/auto_check_sbp_bootload_msg_bootloader_handshake_resp.rs index 57d651c671..68c70c542c 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_bootload_msg_bootloader_handshake_resp.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_bootload_msg_bootloader_handshake_resp.rs @@ -37,8 +37,7 @@ fn test_auto_check_sbp_bootload_msg_bootloader_handshake_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xb4, - "Incorrect message type, expected 0xb4, is {}", - msg_type + "Incorrect message type, expected 0xb4, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -78,8 +77,7 @@ fn test_auto_check_sbp_bootload_msg_bootloader_handshake_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xb0, - "Incorrect message type, expected 0xb0, is {}", - msg_type + "Incorrect message type, expected 0xb0, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_bootload_msg_bootloader_jumpto_app.rs b/rust/sbp/tests/integration/auto_check_sbp_bootload_msg_bootloader_jumpto_app.rs index 55f0846f2c..07ded7e5f8 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_bootload_msg_bootloader_jumpto_app.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_bootload_msg_bootloader_jumpto_app.rs @@ -35,8 +35,7 @@ fn test_auto_check_sbp_bootload_msg_bootloader_jumpto_app() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xb1, - "Incorrect message type, expected 0xb1, is {}", - msg_type + "Incorrect message type, expected 0xb1, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_bootload_msg_nap_device_dna_req.rs b/rust/sbp/tests/integration/auto_check_sbp_bootload_msg_nap_device_dna_req.rs index bd65958130..e4b4f4da03 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_bootload_msg_nap_device_dna_req.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_bootload_msg_nap_device_dna_req.rs @@ -35,8 +35,7 @@ fn test_auto_check_sbp_bootload_msg_nap_device_dna_req() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xde, - "Incorrect message type, expected 0xde, is {}", - msg_type + "Incorrect message type, expected 0xde, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_bootload_msg_nap_device_dna_resp.rs b/rust/sbp/tests/integration/auto_check_sbp_bootload_msg_nap_device_dna_resp.rs index a80505b04f..da0862ab96 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_bootload_msg_nap_device_dna_resp.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_bootload_msg_nap_device_dna_resp.rs @@ -37,8 +37,7 @@ fn test_auto_check_sbp_bootload_msg_nap_device_dna_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xdd, - "Incorrect message type, expected 0xdd, is {}", - msg_type + "Incorrect message type, expected 0xdd, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_ext_events_msg_ext_event.rs b/rust/sbp/tests/integration/auto_check_sbp_ext_events_msg_ext_event.rs index 60026d4d62..86ddc50663 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ext_events_msg_ext_event.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ext_events_msg_ext_event.rs @@ -37,8 +37,7 @@ fn test_auto_check_sbp_ext_events_msg_ext_event() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x101, - "Incorrect message type, expected 0x101, is {}", - msg_type + "Incorrect message type, expected 0x101, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_config_req.rs b/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_config_req.rs index 3bb5115fda..8c6bd55062 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_config_req.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_config_req.rs @@ -35,8 +35,7 @@ fn test_auto_check_sbp_file_io_msg_fileio_config_req() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x1001, - "Incorrect message type, expected 0x1001, is {}", - msg_type + "Incorrect message type, expected 0x1001, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_config_resp.rs b/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_config_resp.rs index 4b3ad90f1d..3bcb075e3e 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_config_resp.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_config_resp.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_file_io_msg_fileio_config_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x1002, - "Incorrect message type, expected 0x1002, is {}", - msg_type + "Incorrect message type, expected 0x1002, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_read_dir_req.rs b/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_read_dir_req.rs index 47aea948bd..42401fab5a 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_read_dir_req.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_read_dir_req.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_file_io_msg_fileio_read_dir_req() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xa9, - "Incorrect message type, expected 0xa9, is {}", - msg_type + "Incorrect message type, expected 0xa9, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_read_dir_resp.rs b/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_read_dir_resp.rs index 698aa808a5..eae1a16a51 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_read_dir_resp.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_read_dir_resp.rs @@ -39,8 +39,7 @@ fn test_auto_check_sbp_file_io_msg_fileio_read_dir_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xaa, - "Incorrect message type, expected 0xaa, is {}", - msg_type + "Incorrect message type, expected 0xaa, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_read_req.rs b/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_read_req.rs index 4e446a1487..24e3a5fac1 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_read_req.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_read_req.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_file_io_msg_fileio_read_req() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xa8, - "Incorrect message type, expected 0xa8, is {}", - msg_type + "Incorrect message type, expected 0xa8, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_read_resp.rs b/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_read_resp.rs index 8ff744842a..42f9296214 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_read_resp.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_read_resp.rs @@ -50,8 +50,7 @@ fn test_auto_check_sbp_file_io_msg_fileio_read_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xa3, - "Incorrect message type, expected 0xa3, is {}", - msg_type + "Incorrect message type, expected 0xa3, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_remove.rs b/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_remove.rs index 9556f6bca1..a3c9a776e6 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_remove.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_remove.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_file_io_msg_fileio_remove() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xac, - "Incorrect message type, expected 0xac, is {}", - msg_type + "Incorrect message type, expected 0xac, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_write_resp.rs b/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_write_resp.rs index a9ce7c45c9..6476e5d4b6 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_write_resp.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_write_resp.rs @@ -35,8 +35,7 @@ fn test_auto_check_sbp_file_io_msg_fileio_write_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xab, - "Incorrect message type, expected 0xab, is {}", - msg_type + "Incorrect message type, expected 0xab, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_flash_msg_flash_done.rs b/rust/sbp/tests/integration/auto_check_sbp_flash_msg_flash_done.rs index ea738d6c44..62e17f8a3c 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_flash_msg_flash_done.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_flash_msg_flash_done.rs @@ -35,8 +35,7 @@ fn test_auto_check_sbp_flash_msg_flash_done() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xe0, - "Incorrect message type, expected 0xe0, is {}", - msg_type + "Incorrect message type, expected 0xe0, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_flash_msg_flash_erase.rs b/rust/sbp/tests/integration/auto_check_sbp_flash_msg_flash_erase.rs index dc5129e061..16a8117de6 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_flash_msg_flash_erase.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_flash_msg_flash_erase.rs @@ -35,8 +35,7 @@ fn test_auto_check_sbp_flash_msg_flash_erase() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xe2, - "Incorrect message type, expected 0xe2, is {}", - msg_type + "Incorrect message type, expected 0xe2, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_flash_msg_flash_program.rs b/rust/sbp/tests/integration/auto_check_sbp_flash_msg_flash_program.rs index 6e5945bf1d..fe1b005a4b 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_flash_msg_flash_program.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_flash_msg_flash_program.rs @@ -50,8 +50,7 @@ fn test_auto_check_sbp_flash_msg_flash_program() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xe6, - "Incorrect message type, expected 0xe6, is {}", - msg_type + "Incorrect message type, expected 0xe6, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_flash_msg_flash_read_req.rs b/rust/sbp/tests/integration/auto_check_sbp_flash_msg_flash_read_req.rs index e3738d5ce4..8c32526ddd 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_flash_msg_flash_read_req.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_flash_msg_flash_read_req.rs @@ -35,8 +35,7 @@ fn test_auto_check_sbp_flash_msg_flash_read_req() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xe7, - "Incorrect message type, expected 0xe7, is {}", - msg_type + "Incorrect message type, expected 0xe7, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_flash_msg_flash_read_resp.rs b/rust/sbp/tests/integration/auto_check_sbp_flash_msg_flash_read_resp.rs index 567991443d..3e4832ee4c 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_flash_msg_flash_read_resp.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_flash_msg_flash_read_resp.rs @@ -37,8 +37,7 @@ fn test_auto_check_sbp_flash_msg_flash_read_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xe1, - "Incorrect message type, expected 0xe1, is {}", - msg_type + "Incorrect message type, expected 0xe1, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_flash_msg_m25_flash_write_status.rs b/rust/sbp/tests/integration/auto_check_sbp_flash_msg_m25_flash_write_status.rs index 5f0aa8392d..64a9ef18f5 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_flash_msg_m25_flash_write_status.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_flash_msg_m25_flash_write_status.rs @@ -35,8 +35,7 @@ fn test_auto_check_sbp_flash_msg_m25_flash_write_status() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xf3, - "Incorrect message type, expected 0xf3, is {}", - msg_type + "Incorrect message type, expected 0xf3, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_flash_msg_stm_flash_lock_sector.rs b/rust/sbp/tests/integration/auto_check_sbp_flash_msg_stm_flash_lock_sector.rs index d7a597baa1..9ff1810b97 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_flash_msg_stm_flash_lock_sector.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_flash_msg_stm_flash_lock_sector.rs @@ -35,8 +35,7 @@ fn test_auto_check_sbp_flash_msg_stm_flash_lock_sector() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xe3, - "Incorrect message type, expected 0xe3, is {}", - msg_type + "Incorrect message type, expected 0xe3, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_flash_msg_stm_flash_unlock_sector.rs b/rust/sbp/tests/integration/auto_check_sbp_flash_msg_stm_flash_unlock_sector.rs index 89591874ca..6124311be2 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_flash_msg_stm_flash_unlock_sector.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_flash_msg_stm_flash_unlock_sector.rs @@ -35,8 +35,7 @@ fn test_auto_check_sbp_flash_msg_stm_flash_unlock_sector() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xe4, - "Incorrect message type, expected 0xe4, is {}", - msg_type + "Incorrect message type, expected 0xe4, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_flash_msg_stm_unique_id_req.rs b/rust/sbp/tests/integration/auto_check_sbp_flash_msg_stm_unique_id_req.rs index c2865db557..8764a6ab09 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_flash_msg_stm_unique_id_req.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_flash_msg_stm_unique_id_req.rs @@ -35,8 +35,7 @@ fn test_auto_check_sbp_flash_msg_stm_unique_id_req() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xe8, - "Incorrect message type, expected 0xe8, is {}", - msg_type + "Incorrect message type, expected 0xe8, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_flash_msg_stm_unique_id_resp.rs b/rust/sbp/tests/integration/auto_check_sbp_flash_msg_stm_unique_id_resp.rs index 468043b304..9ef139126b 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_flash_msg_stm_unique_id_resp.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_flash_msg_stm_unique_id_resp.rs @@ -37,8 +37,7 @@ fn test_auto_check_sbp_flash_msg_stm_unique_id_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xe5, - "Incorrect message type, expected 0xe5, is {}", - msg_type + "Incorrect message type, expected 0xe5, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_imu_msg_imu_aux.rs b/rust/sbp/tests/integration/auto_check_sbp_imu_msg_imu_aux.rs index dfed16b1c9..7b2d851821 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_imu_msg_imu_aux.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_imu_msg_imu_aux.rs @@ -35,8 +35,7 @@ fn test_auto_check_sbp_imu_msg_imu_aux() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x901, - "Incorrect message type, expected 0x901, is {}", - msg_type + "Incorrect message type, expected 0x901, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_imu_msg_imu_comp.rs b/rust/sbp/tests/integration/auto_check_sbp_imu_msg_imu_comp.rs index 7a8414592e..994ce201fa 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_imu_msg_imu_comp.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_imu_msg_imu_comp.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_imu_msg_imu_comp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x905, - "Incorrect message type, expected 0x905, is {}", - msg_type + "Incorrect message type, expected 0x905, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_imu_msg_imu_raw.rs b/rust/sbp/tests/integration/auto_check_sbp_imu_msg_imu_raw.rs index 4909f10081..43dba908a0 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_imu_msg_imu_raw.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_imu_msg_imu_raw.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_imu_msg_imu_raw() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x900, - "Incorrect message type, expected 0x900, is {}", - msg_type + "Incorrect message type, expected 0x900, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_acknowledge.rs b/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_acknowledge.rs index bf62362ca3..c0d6907efc 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_acknowledge.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_acknowledge.rs @@ -37,8 +37,7 @@ fn test_auto_check_sbp_integrity_msg_acknowledge() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xBD2, - "Incorrect message type, expected 0xBD2, is {}", - msg_type + "Incorrect message type, expected 0xBD2, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_ssr_flag_high_level.rs b/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_ssr_flag_high_level.rs index 879eed7067..6c39c4cf5f 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_ssr_flag_high_level.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_ssr_flag_high_level.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_integrity_msg_ssr_flag_high_level() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 3001, - "Incorrect message type, expected 3001, is {}", - msg_type + "Incorrect message type, expected 3001, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_ssr_flag_iono_grid_point_sat_los.rs b/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_ssr_flag_iono_grid_point_sat_los.rs index 736d52bbe1..b2033165eb 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_ssr_flag_iono_grid_point_sat_los.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_ssr_flag_iono_grid_point_sat_los.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_integrity_msg_ssr_flag_iono_grid_point_sat_los() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 3025, - "Incorrect message type, expected 3025, is {}", - msg_type + "Incorrect message type, expected 3025, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_ssr_flag_iono_grid_points.rs b/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_ssr_flag_iono_grid_points.rs index c5e0638d3d..a025e613b7 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_ssr_flag_iono_grid_points.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_ssr_flag_iono_grid_points.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_integrity_msg_ssr_flag_iono_grid_points() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 3015, - "Incorrect message type, expected 3015, is {}", - msg_type + "Incorrect message type, expected 3015, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_ssr_flag_iono_tile_sat_los.rs b/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_ssr_flag_iono_tile_sat_los.rs index 717c5362ff..157aff3be3 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_ssr_flag_iono_tile_sat_los.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_ssr_flag_iono_tile_sat_los.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_integrity_msg_ssr_flag_iono_tile_sat_los() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 3021, - "Incorrect message type, expected 3021, is {}", - msg_type + "Incorrect message type, expected 3021, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_ssr_flag_satellites.rs b/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_ssr_flag_satellites.rs index b32c159291..ec9b5c6f30 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_ssr_flag_satellites.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_ssr_flag_satellites.rs @@ -37,8 +37,7 @@ fn test_auto_check_sbp_integrity_msg_ssr_flag_satellites() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 3005, - "Incorrect message type, expected 3005, is {}", - msg_type + "Incorrect message type, expected 3005, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_ssr_flag_tropo_grid_points.rs b/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_ssr_flag_tropo_grid_points.rs index 6a4f86516e..59c4e63aab 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_ssr_flag_tropo_grid_points.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_ssr_flag_tropo_grid_points.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_integrity_msg_ssr_flag_tropo_grid_points() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 3011, - "Incorrect message type, expected 3011, is {}", - msg_type + "Incorrect message type, expected 3011, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_cpu_state.rs b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_cpu_state.rs index b47a680095..7bcd8c1d2d 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_cpu_state.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_cpu_state.rs @@ -41,8 +41,7 @@ fn test_auto_check_sbp_linux_msg_linux_cpu_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x7f08, - "Incorrect message type, expected 0x7f08, is {}", - msg_type + "Incorrect message type, expected 0x7f08, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_cpu_state_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_cpu_state_dep_a.rs index dc39c34bd7..70218358eb 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_cpu_state_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_cpu_state_dep_a.rs @@ -40,8 +40,7 @@ fn test_auto_check_sbp_linux_msg_linux_cpu_state_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x7f00, - "Incorrect message type, expected 0x7f00, is {}", - msg_type + "Incorrect message type, expected 0x7f00, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_mem_state.rs b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_mem_state.rs index 42a3ef94f3..95f828347d 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_mem_state.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_mem_state.rs @@ -40,8 +40,7 @@ fn test_auto_check_sbp_linux_msg_linux_mem_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x7f09, - "Incorrect message type, expected 0x7f09, is {}", - msg_type + "Incorrect message type, expected 0x7f09, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_mem_state_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_mem_state_dep_a.rs index f2be1f7a8d..cbc90bec1f 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_mem_state_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_mem_state_dep_a.rs @@ -40,8 +40,7 @@ fn test_auto_check_sbp_linux_msg_linux_mem_state_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x7f01, - "Incorrect message type, expected 0x7f01, is {}", - msg_type + "Incorrect message type, expected 0x7f01, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_process_fd_count.rs b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_process_fd_count.rs index 7a08da614e..b520902c8a 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_process_fd_count.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_process_fd_count.rs @@ -40,8 +40,7 @@ fn test_auto_check_sbp_linux_msg_linux_process_fd_count() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x7f06, - "Incorrect message type, expected 0x7f06, is {}", - msg_type + "Incorrect message type, expected 0x7f06, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_process_fd_summary.rs b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_process_fd_summary.rs index 51f16478ba..1563efe706 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_process_fd_summary.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_process_fd_summary.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_linux_msg_linux_process_fd_summary() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x7f07, - "Incorrect message type, expected 0x7f07, is {}", - msg_type + "Incorrect message type, expected 0x7f07, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_process_socket_counts.rs b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_process_socket_counts.rs index 7c921ce2fb..10d1449871 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_process_socket_counts.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_process_socket_counts.rs @@ -40,8 +40,7 @@ fn test_auto_check_sbp_linux_msg_linux_process_socket_counts() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x7f03, - "Incorrect message type, expected 0x7f03, is {}", - msg_type + "Incorrect message type, expected 0x7f03, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_process_socket_queues.rs b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_process_socket_queues.rs index ef711be311..fec8411992 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_process_socket_queues.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_process_socket_queues.rs @@ -42,8 +42,7 @@ fn test_auto_check_sbp_linux_msg_linux_process_socket_queues() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x7f04, - "Incorrect message type, expected 0x7f04, is {}", - msg_type + "Incorrect message type, expected 0x7f04, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_socket_usage.rs b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_socket_usage.rs index eca57e9fa0..620bbceaf5 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_socket_usage.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_socket_usage.rs @@ -41,8 +41,7 @@ fn test_auto_check_sbp_linux_msg_linux_socket_usage() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x7f05, - "Incorrect message type, expected 0x7f05, is {}", - msg_type + "Incorrect message type, expected 0x7f05, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_sys_state.rs b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_sys_state.rs index 7d14f3e74e..9373414efa 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_sys_state.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_sys_state.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_linux_msg_linux_sys_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x7f0a, - "Incorrect message type, expected 0x7f0a, is {}", - msg_type + "Incorrect message type, expected 0x7f0a, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_sys_state_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_sys_state_dep_a.rs index de5e077a0d..d110d3c8b8 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_sys_state_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_sys_state_dep_a.rs @@ -37,8 +37,7 @@ fn test_auto_check_sbp_linux_msg_linux_sys_state_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x7f02, - "Incorrect message type, expected 0x7f02, is {}", - msg_type + "Incorrect message type, expected 0x7f02, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_logging_msg_fwd.rs b/rust/sbp/tests/integration/auto_check_sbp_logging_msg_fwd.rs index 1e6efb2425..ee0cdf5d40 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_logging_msg_fwd.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_logging_msg_fwd.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_logging_msg_fwd() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x402, - "Incorrect message type, expected 0x402, is {}", - msg_type + "Incorrect message type, expected 0x402, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_logging_msg_log.rs b/rust/sbp/tests/integration/auto_check_sbp_logging_msg_log.rs index e401fb5ea8..2dc65ea592 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_logging_msg_log.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_logging_msg_log.rs @@ -39,8 +39,7 @@ fn test_auto_check_sbp_logging_msg_log() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x0401, - "Incorrect message type, expected 0x0401, is {}", - msg_type + "Incorrect message type, expected 0x0401, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_logging_msg_print_dep.rs b/rust/sbp/tests/integration/auto_check_sbp_logging_msg_print_dep.rs index 65fc376be7..cc7d646eb5 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_logging_msg_print_dep.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_logging_msg_print_dep.rs @@ -39,8 +39,7 @@ fn test_auto_check_sbp_logging_msg_print_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x10, - "Incorrect message type, expected 0x10, is {}", - msg_type + "Incorrect message type, expected 0x10, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -87,8 +86,7 @@ fn test_auto_check_sbp_logging_msg_print_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x10, - "Incorrect message type, expected 0x10, is {}", - msg_type + "Incorrect message type, expected 0x10, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -135,8 +133,7 @@ fn test_auto_check_sbp_logging_msg_print_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x10, - "Incorrect message type, expected 0x10, is {}", - msg_type + "Incorrect message type, expected 0x10, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -183,8 +180,7 @@ fn test_auto_check_sbp_logging_msg_print_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x10, - "Incorrect message type, expected 0x10, is {}", - msg_type + "Incorrect message type, expected 0x10, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -231,8 +227,7 @@ fn test_auto_check_sbp_logging_msg_print_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x10, - "Incorrect message type, expected 0x10, is {}", - msg_type + "Incorrect message type, expected 0x10, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -279,8 +274,7 @@ fn test_auto_check_sbp_logging_msg_print_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x10, - "Incorrect message type, expected 0x10, is {}", - msg_type + "Incorrect message type, expected 0x10, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_mag_msg_mag_raw.rs b/rust/sbp/tests/integration/auto_check_sbp_mag_msg_mag_raw.rs index c8d208ee6c..fadc7807ab 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_mag_msg_mag_raw.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_mag_msg_mag_raw.rs @@ -37,8 +37,7 @@ fn test_auto_check_sbp_mag_msg_mag_raw() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x902, - "Incorrect message type, expected 0x902, is {}", - msg_type + "Incorrect message type, expected 0x902, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_age_corrections.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_age_corrections.rs index 0c1df513fb..9c64caa419 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_age_corrections.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_age_corrections.rs @@ -35,8 +35,7 @@ fn test_auto_check_sbp_navigation_msg_age_corrections() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x210, - "Incorrect message type, expected 0x210, is {}", - msg_type + "Incorrect message type, expected 0x210, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_baseline_ecef.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_baseline_ecef.rs index 881a74bf03..73d2b0a729 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_baseline_ecef.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_baseline_ecef.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_navigation_msg_baseline_ecef() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20b, - "Incorrect message type, expected 0x20b, is {}", - msg_type + "Incorrect message type, expected 0x20b, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -105,8 +104,7 @@ fn test_auto_check_sbp_navigation_msg_baseline_ecef() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20b, - "Incorrect message type, expected 0x20b, is {}", - msg_type + "Incorrect message type, expected 0x20b, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -172,8 +170,7 @@ fn test_auto_check_sbp_navigation_msg_baseline_ecef() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20b, - "Incorrect message type, expected 0x20b, is {}", - msg_type + "Incorrect message type, expected 0x20b, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -239,8 +236,7 @@ fn test_auto_check_sbp_navigation_msg_baseline_ecef() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20b, - "Incorrect message type, expected 0x20b, is {}", - msg_type + "Incorrect message type, expected 0x20b, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -306,8 +302,7 @@ fn test_auto_check_sbp_navigation_msg_baseline_ecef() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20b, - "Incorrect message type, expected 0x20b, is {}", - msg_type + "Incorrect message type, expected 0x20b, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_baseline_ecef_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_baseline_ecef_dep_a.rs index 7d51152b46..768bc99187 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_baseline_ecef_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_baseline_ecef_dep_a.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_navigation_msg_baseline_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x202, - "Incorrect message type, expected 0x202, is {}", - msg_type + "Incorrect message type, expected 0x202, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -105,8 +104,7 @@ fn test_auto_check_sbp_navigation_msg_baseline_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x202, - "Incorrect message type, expected 0x202, is {}", - msg_type + "Incorrect message type, expected 0x202, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -172,8 +170,7 @@ fn test_auto_check_sbp_navigation_msg_baseline_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x202, - "Incorrect message type, expected 0x202, is {}", - msg_type + "Incorrect message type, expected 0x202, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -239,8 +236,7 @@ fn test_auto_check_sbp_navigation_msg_baseline_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x202, - "Incorrect message type, expected 0x202, is {}", - msg_type + "Incorrect message type, expected 0x202, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -306,8 +302,7 @@ fn test_auto_check_sbp_navigation_msg_baseline_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x202, - "Incorrect message type, expected 0x202, is {}", - msg_type + "Incorrect message type, expected 0x202, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -373,8 +368,7 @@ fn test_auto_check_sbp_navigation_msg_baseline_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x202, - "Incorrect message type, expected 0x202, is {}", - msg_type + "Incorrect message type, expected 0x202, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -440,8 +434,7 @@ fn test_auto_check_sbp_navigation_msg_baseline_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x202, - "Incorrect message type, expected 0x202, is {}", - msg_type + "Incorrect message type, expected 0x202, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -507,8 +500,7 @@ fn test_auto_check_sbp_navigation_msg_baseline_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x202, - "Incorrect message type, expected 0x202, is {}", - msg_type + "Incorrect message type, expected 0x202, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -574,8 +566,7 @@ fn test_auto_check_sbp_navigation_msg_baseline_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x202, - "Incorrect message type, expected 0x202, is {}", - msg_type + "Incorrect message type, expected 0x202, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -641,8 +632,7 @@ fn test_auto_check_sbp_navigation_msg_baseline_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x202, - "Incorrect message type, expected 0x202, is {}", - msg_type + "Incorrect message type, expected 0x202, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -708,8 +698,7 @@ fn test_auto_check_sbp_navigation_msg_baseline_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x202, - "Incorrect message type, expected 0x202, is {}", - msg_type + "Incorrect message type, expected 0x202, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_baseline_heading_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_baseline_heading_dep_a.rs index 86dfe29cec..90d24970d1 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_baseline_heading_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_baseline_heading_dep_a.rs @@ -37,8 +37,7 @@ fn test_auto_check_sbp_navigation_msg_baseline_heading_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x207, - "Incorrect message type, expected 0x207, is {}", - msg_type + "Incorrect message type, expected 0x207, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_baseline_ned.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_baseline_ned.rs index 85cd4f9b7d..85a4854d20 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_baseline_ned.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_baseline_ned.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_navigation_msg_baseline_ned() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20c, - "Incorrect message type, expected 0x20c, is {}", - msg_type + "Incorrect message type, expected 0x20c, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -110,8 +109,7 @@ fn test_auto_check_sbp_navigation_msg_baseline_ned() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20c, - "Incorrect message type, expected 0x20c, is {}", - msg_type + "Incorrect message type, expected 0x20c, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -182,8 +180,7 @@ fn test_auto_check_sbp_navigation_msg_baseline_ned() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20c, - "Incorrect message type, expected 0x20c, is {}", - msg_type + "Incorrect message type, expected 0x20c, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -254,8 +251,7 @@ fn test_auto_check_sbp_navigation_msg_baseline_ned() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20c, - "Incorrect message type, expected 0x20c, is {}", - msg_type + "Incorrect message type, expected 0x20c, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -326,8 +322,7 @@ fn test_auto_check_sbp_navigation_msg_baseline_ned() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20c, - "Incorrect message type, expected 0x20c, is {}", - msg_type + "Incorrect message type, expected 0x20c, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_baseline_ned_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_baseline_ned_dep_a.rs index a258f7826a..c11f1c8074 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_baseline_ned_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_baseline_ned_dep_a.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_navigation_msg_baseline_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x203, - "Incorrect message type, expected 0x203, is {}", - msg_type + "Incorrect message type, expected 0x203, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -106,8 +105,7 @@ fn test_auto_check_sbp_navigation_msg_baseline_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x203, - "Incorrect message type, expected 0x203, is {}", - msg_type + "Incorrect message type, expected 0x203, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -174,8 +172,7 @@ fn test_auto_check_sbp_navigation_msg_baseline_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x203, - "Incorrect message type, expected 0x203, is {}", - msg_type + "Incorrect message type, expected 0x203, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -242,8 +239,7 @@ fn test_auto_check_sbp_navigation_msg_baseline_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x203, - "Incorrect message type, expected 0x203, is {}", - msg_type + "Incorrect message type, expected 0x203, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -310,8 +306,7 @@ fn test_auto_check_sbp_navigation_msg_baseline_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x203, - "Incorrect message type, expected 0x203, is {}", - msg_type + "Incorrect message type, expected 0x203, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -378,8 +373,7 @@ fn test_auto_check_sbp_navigation_msg_baseline_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x203, - "Incorrect message type, expected 0x203, is {}", - msg_type + "Incorrect message type, expected 0x203, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -450,8 +444,7 @@ fn test_auto_check_sbp_navigation_msg_baseline_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x203, - "Incorrect message type, expected 0x203, is {}", - msg_type + "Incorrect message type, expected 0x203, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -522,8 +515,7 @@ fn test_auto_check_sbp_navigation_msg_baseline_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x203, - "Incorrect message type, expected 0x203, is {}", - msg_type + "Incorrect message type, expected 0x203, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -594,8 +586,7 @@ fn test_auto_check_sbp_navigation_msg_baseline_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x203, - "Incorrect message type, expected 0x203, is {}", - msg_type + "Incorrect message type, expected 0x203, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -666,8 +657,7 @@ fn test_auto_check_sbp_navigation_msg_baseline_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x203, - "Incorrect message type, expected 0x203, is {}", - msg_type + "Incorrect message type, expected 0x203, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -738,8 +728,7 @@ fn test_auto_check_sbp_navigation_msg_baseline_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x203, - "Incorrect message type, expected 0x203, is {}", - msg_type + "Incorrect message type, expected 0x203, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_dops.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_dops.rs index 64c92fdb5f..2397714116 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_dops.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_dops.rs @@ -37,8 +37,7 @@ fn test_auto_check_sbp_navigation_msg_dops() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x208, - "Incorrect message type, expected 0x208, is {}", - msg_type + "Incorrect message type, expected 0x208, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_dops_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_dops_dep_a.rs index 1c46ec643d..4dc811716b 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_dops_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_dops_dep_a.rs @@ -37,8 +37,7 @@ fn test_auto_check_sbp_navigation_msg_dops_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x206, - "Incorrect message type, expected 0x206, is {}", - msg_type + "Incorrect message type, expected 0x206, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -98,8 +97,7 @@ fn test_auto_check_sbp_navigation_msg_dops_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x206, - "Incorrect message type, expected 0x206, is {}", - msg_type + "Incorrect message type, expected 0x206, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -159,8 +157,7 @@ fn test_auto_check_sbp_navigation_msg_dops_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x206, - "Incorrect message type, expected 0x206, is {}", - msg_type + "Incorrect message type, expected 0x206, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -220,8 +217,7 @@ fn test_auto_check_sbp_navigation_msg_dops_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x206, - "Incorrect message type, expected 0x206, is {}", - msg_type + "Incorrect message type, expected 0x206, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -281,8 +277,7 @@ fn test_auto_check_sbp_navigation_msg_dops_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x206, - "Incorrect message type, expected 0x206, is {}", - msg_type + "Incorrect message type, expected 0x206, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -342,8 +337,7 @@ fn test_auto_check_sbp_navigation_msg_dops_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x206, - "Incorrect message type, expected 0x206, is {}", - msg_type + "Incorrect message type, expected 0x206, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -403,8 +397,7 @@ fn test_auto_check_sbp_navigation_msg_dops_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x206, - "Incorrect message type, expected 0x206, is {}", - msg_type + "Incorrect message type, expected 0x206, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -464,8 +457,7 @@ fn test_auto_check_sbp_navigation_msg_dops_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x206, - "Incorrect message type, expected 0x206, is {}", - msg_type + "Incorrect message type, expected 0x206, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -525,8 +517,7 @@ fn test_auto_check_sbp_navigation_msg_dops_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x206, - "Incorrect message type, expected 0x206, is {}", - msg_type + "Incorrect message type, expected 0x206, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_gps_time.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_gps_time.rs index be7345d977..d8e8c365cf 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_gps_time.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_gps_time.rs @@ -37,8 +37,7 @@ fn test_auto_check_sbp_navigation_msg_gps_time() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x102, - "Incorrect message type, expected 0x102, is {}", - msg_type + "Incorrect message type, expected 0x102, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -88,8 +87,7 @@ fn test_auto_check_sbp_navigation_msg_gps_time() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x102, - "Incorrect message type, expected 0x102, is {}", - msg_type + "Incorrect message type, expected 0x102, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -139,8 +137,7 @@ fn test_auto_check_sbp_navigation_msg_gps_time() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x102, - "Incorrect message type, expected 0x102, is {}", - msg_type + "Incorrect message type, expected 0x102, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -190,8 +187,7 @@ fn test_auto_check_sbp_navigation_msg_gps_time() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x102, - "Incorrect message type, expected 0x102, is {}", - msg_type + "Incorrect message type, expected 0x102, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -241,8 +237,7 @@ fn test_auto_check_sbp_navigation_msg_gps_time() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x102, - "Incorrect message type, expected 0x102, is {}", - msg_type + "Incorrect message type, expected 0x102, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_gps_time_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_gps_time_dep_a.rs index 55ea238d32..43c2ad328c 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_gps_time_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_gps_time_dep_a.rs @@ -37,8 +37,7 @@ fn test_auto_check_sbp_navigation_msg_gps_time_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x100, - "Incorrect message type, expected 0x100, is {}", - msg_type + "Incorrect message type, expected 0x100, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -88,8 +87,7 @@ fn test_auto_check_sbp_navigation_msg_gps_time_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x100, - "Incorrect message type, expected 0x100, is {}", - msg_type + "Incorrect message type, expected 0x100, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -139,8 +137,7 @@ fn test_auto_check_sbp_navigation_msg_gps_time_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x100, - "Incorrect message type, expected 0x100, is {}", - msg_type + "Incorrect message type, expected 0x100, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -190,8 +187,7 @@ fn test_auto_check_sbp_navigation_msg_gps_time_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x100, - "Incorrect message type, expected 0x100, is {}", - msg_type + "Incorrect message type, expected 0x100, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -241,8 +237,7 @@ fn test_auto_check_sbp_navigation_msg_gps_time_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x100, - "Incorrect message type, expected 0x100, is {}", - msg_type + "Incorrect message type, expected 0x100, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -292,8 +287,7 @@ fn test_auto_check_sbp_navigation_msg_gps_time_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x100, - "Incorrect message type, expected 0x100, is {}", - msg_type + "Incorrect message type, expected 0x100, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -343,8 +337,7 @@ fn test_auto_check_sbp_navigation_msg_gps_time_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x100, - "Incorrect message type, expected 0x100, is {}", - msg_type + "Incorrect message type, expected 0x100, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -394,8 +387,7 @@ fn test_auto_check_sbp_navigation_msg_gps_time_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x100, - "Incorrect message type, expected 0x100, is {}", - msg_type + "Incorrect message type, expected 0x100, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -445,8 +437,7 @@ fn test_auto_check_sbp_navigation_msg_gps_time_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x100, - "Incorrect message type, expected 0x100, is {}", - msg_type + "Incorrect message type, expected 0x100, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -496,8 +487,7 @@ fn test_auto_check_sbp_navigation_msg_gps_time_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x100, - "Incorrect message type, expected 0x100, is {}", - msg_type + "Incorrect message type, expected 0x100, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -547,8 +537,7 @@ fn test_auto_check_sbp_navigation_msg_gps_time_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x100, - "Incorrect message type, expected 0x100, is {}", - msg_type + "Incorrect message type, expected 0x100, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_gps_time_gnss.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_gps_time_gnss.rs index 968dc2d517..c88bbb5ef6 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_gps_time_gnss.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_gps_time_gnss.rs @@ -37,8 +37,7 @@ fn test_auto_check_sbp_navigation_msg_gps_time_gnss() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x104, - "Incorrect message type, expected 0x104, is {}", - msg_type + "Incorrect message type, expected 0x104, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -88,8 +87,7 @@ fn test_auto_check_sbp_navigation_msg_gps_time_gnss() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x104, - "Incorrect message type, expected 0x104, is {}", - msg_type + "Incorrect message type, expected 0x104, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -139,8 +137,7 @@ fn test_auto_check_sbp_navigation_msg_gps_time_gnss() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x104, - "Incorrect message type, expected 0x104, is {}", - msg_type + "Incorrect message type, expected 0x104, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -190,8 +187,7 @@ fn test_auto_check_sbp_navigation_msg_gps_time_gnss() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x104, - "Incorrect message type, expected 0x104, is {}", - msg_type + "Incorrect message type, expected 0x104, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -241,8 +237,7 @@ fn test_auto_check_sbp_navigation_msg_gps_time_gnss() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x104, - "Incorrect message type, expected 0x104, is {}", - msg_type + "Incorrect message type, expected 0x104, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_ecef.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_ecef.rs index 703e904ed3..add65418ed 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_ecef.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_ecef.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_navigation_msg_pos_ecef() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x209, - "Incorrect message type, expected 0x209, is {}", - msg_type + "Incorrect message type, expected 0x209, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -106,8 +105,7 @@ fn test_auto_check_sbp_navigation_msg_pos_ecef() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x209, - "Incorrect message type, expected 0x209, is {}", - msg_type + "Incorrect message type, expected 0x209, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -174,8 +172,7 @@ fn test_auto_check_sbp_navigation_msg_pos_ecef() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x209, - "Incorrect message type, expected 0x209, is {}", - msg_type + "Incorrect message type, expected 0x209, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -241,8 +238,7 @@ fn test_auto_check_sbp_navigation_msg_pos_ecef() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x209, - "Incorrect message type, expected 0x209, is {}", - msg_type + "Incorrect message type, expected 0x209, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_ecef_cov.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_ecef_cov.rs index da4e33fb9c..1c91dab8fe 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_ecef_cov.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_ecef_cov.rs @@ -39,8 +39,7 @@ fn test_auto_check_sbp_navigation_msg_pos_ecef_cov() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x214, - "Incorrect message type, expected 0x214, is {}", - msg_type + "Incorrect message type, expected 0x214, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_ecef_cov_gnss.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_ecef_cov_gnss.rs index b1796d3280..82736a156b 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_ecef_cov_gnss.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_ecef_cov_gnss.rs @@ -40,8 +40,7 @@ fn test_auto_check_sbp_navigation_msg_pos_ecef_cov_gnss() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x234, - "Incorrect message type, expected 0x234, is {}", - msg_type + "Incorrect message type, expected 0x234, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_ecef_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_ecef_dep_a.rs index d8a24e8cbd..b03254664c 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_ecef_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_ecef_dep_a.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_navigation_msg_pos_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x200, - "Incorrect message type, expected 0x200, is {}", - msg_type + "Incorrect message type, expected 0x200, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -105,8 +104,7 @@ fn test_auto_check_sbp_navigation_msg_pos_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x200, - "Incorrect message type, expected 0x200, is {}", - msg_type + "Incorrect message type, expected 0x200, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -172,8 +170,7 @@ fn test_auto_check_sbp_navigation_msg_pos_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x200, - "Incorrect message type, expected 0x200, is {}", - msg_type + "Incorrect message type, expected 0x200, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -239,8 +236,7 @@ fn test_auto_check_sbp_navigation_msg_pos_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x200, - "Incorrect message type, expected 0x200, is {}", - msg_type + "Incorrect message type, expected 0x200, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -306,8 +302,7 @@ fn test_auto_check_sbp_navigation_msg_pos_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x200, - "Incorrect message type, expected 0x200, is {}", - msg_type + "Incorrect message type, expected 0x200, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -373,8 +368,7 @@ fn test_auto_check_sbp_navigation_msg_pos_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x200, - "Incorrect message type, expected 0x200, is {}", - msg_type + "Incorrect message type, expected 0x200, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -440,8 +434,7 @@ fn test_auto_check_sbp_navigation_msg_pos_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x200, - "Incorrect message type, expected 0x200, is {}", - msg_type + "Incorrect message type, expected 0x200, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -507,8 +500,7 @@ fn test_auto_check_sbp_navigation_msg_pos_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x200, - "Incorrect message type, expected 0x200, is {}", - msg_type + "Incorrect message type, expected 0x200, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -574,8 +566,7 @@ fn test_auto_check_sbp_navigation_msg_pos_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x200, - "Incorrect message type, expected 0x200, is {}", - msg_type + "Incorrect message type, expected 0x200, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -641,8 +632,7 @@ fn test_auto_check_sbp_navigation_msg_pos_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x200, - "Incorrect message type, expected 0x200, is {}", - msg_type + "Incorrect message type, expected 0x200, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -708,8 +698,7 @@ fn test_auto_check_sbp_navigation_msg_pos_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x200, - "Incorrect message type, expected 0x200, is {}", - msg_type + "Incorrect message type, expected 0x200, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_ecefgnss.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_ecefgnss.rs index b8b8e5c7be..a00dbf150e 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_ecefgnss.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_ecefgnss.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_navigation_msg_pos_ecefgnss() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x229, - "Incorrect message type, expected 0x229, is {}", - msg_type + "Incorrect message type, expected 0x229, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh.rs index bca0b78493..bf67ce6a3f 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh.rs @@ -39,8 +39,7 @@ fn test_auto_check_sbp_navigation_msg_pos_llh() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20a, - "Incorrect message type, expected 0x20a, is {}", - msg_type + "Incorrect message type, expected 0x20a, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -112,8 +111,7 @@ fn test_auto_check_sbp_navigation_msg_pos_llh() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20a, - "Incorrect message type, expected 0x20a, is {}", - msg_type + "Incorrect message type, expected 0x20a, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -185,8 +183,7 @@ fn test_auto_check_sbp_navigation_msg_pos_llh() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20a, - "Incorrect message type, expected 0x20a, is {}", - msg_type + "Incorrect message type, expected 0x20a, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -258,8 +255,7 @@ fn test_auto_check_sbp_navigation_msg_pos_llh() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20a, - "Incorrect message type, expected 0x20a, is {}", - msg_type + "Incorrect message type, expected 0x20a, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -331,8 +327,7 @@ fn test_auto_check_sbp_navigation_msg_pos_llh() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20a, - "Incorrect message type, expected 0x20a, is {}", - msg_type + "Incorrect message type, expected 0x20a, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh_acc.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh_acc.rs index 8fd6eeb717..76c35e1848 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh_acc.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh_acc.rs @@ -40,8 +40,7 @@ fn test_auto_check_sbp_navigation_msg_pos_llh_acc() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x218, - "Incorrect message type, expected 0x218, is {}", - msg_type + "Incorrect message type, expected 0x218, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh_cov.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh_cov.rs index d095aaaec8..d92706733d 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh_cov.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh_cov.rs @@ -39,8 +39,7 @@ fn test_auto_check_sbp_navigation_msg_pos_llh_cov() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x211, - "Incorrect message type, expected 0x211, is {}", - msg_type + "Incorrect message type, expected 0x211, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh_cov_gnss.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh_cov_gnss.rs index e9d2e1ec6a..4d75187ef1 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh_cov_gnss.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh_cov_gnss.rs @@ -40,8 +40,7 @@ fn test_auto_check_sbp_navigation_msg_pos_llh_cov_gnss() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x231, - "Incorrect message type, expected 0x231, is {}", - msg_type + "Incorrect message type, expected 0x231, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh_dep_a.rs index a74acb0904..4cca7d1597 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh_dep_a.rs @@ -39,8 +39,7 @@ fn test_auto_check_sbp_navigation_msg_pos_llh_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x201, - "Incorrect message type, expected 0x201, is {}", - msg_type + "Incorrect message type, expected 0x201, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -111,8 +110,7 @@ fn test_auto_check_sbp_navigation_msg_pos_llh_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x201, - "Incorrect message type, expected 0x201, is {}", - msg_type + "Incorrect message type, expected 0x201, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -184,8 +182,7 @@ fn test_auto_check_sbp_navigation_msg_pos_llh_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x201, - "Incorrect message type, expected 0x201, is {}", - msg_type + "Incorrect message type, expected 0x201, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -257,8 +254,7 @@ fn test_auto_check_sbp_navigation_msg_pos_llh_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x201, - "Incorrect message type, expected 0x201, is {}", - msg_type + "Incorrect message type, expected 0x201, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -330,8 +326,7 @@ fn test_auto_check_sbp_navigation_msg_pos_llh_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x201, - "Incorrect message type, expected 0x201, is {}", - msg_type + "Incorrect message type, expected 0x201, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -402,8 +397,7 @@ fn test_auto_check_sbp_navigation_msg_pos_llh_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x201, - "Incorrect message type, expected 0x201, is {}", - msg_type + "Incorrect message type, expected 0x201, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -475,8 +469,7 @@ fn test_auto_check_sbp_navigation_msg_pos_llh_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x201, - "Incorrect message type, expected 0x201, is {}", - msg_type + "Incorrect message type, expected 0x201, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -548,8 +541,7 @@ fn test_auto_check_sbp_navigation_msg_pos_llh_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x201, - "Incorrect message type, expected 0x201, is {}", - msg_type + "Incorrect message type, expected 0x201, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -620,8 +612,7 @@ fn test_auto_check_sbp_navigation_msg_pos_llh_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x201, - "Incorrect message type, expected 0x201, is {}", - msg_type + "Incorrect message type, expected 0x201, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -693,8 +684,7 @@ fn test_auto_check_sbp_navigation_msg_pos_llh_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x201, - "Incorrect message type, expected 0x201, is {}", - msg_type + "Incorrect message type, expected 0x201, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -766,8 +756,7 @@ fn test_auto_check_sbp_navigation_msg_pos_llh_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x201, - "Incorrect message type, expected 0x201, is {}", - msg_type + "Incorrect message type, expected 0x201, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh_gnss.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh_gnss.rs index 0194218f1a..de370a039f 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh_gnss.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh_gnss.rs @@ -39,8 +39,7 @@ fn test_auto_check_sbp_navigation_msg_pos_llh_gnss() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x22a, - "Incorrect message type, expected 0x22a, is {}", - msg_type + "Incorrect message type, expected 0x22a, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pose_relative.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pose_relative.rs index 31aa9269ed..33b16d26f9 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pose_relative.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pose_relative.rs @@ -40,8 +40,7 @@ fn test_auto_check_sbp_navigation_msg_pose_relative() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x245, - "Incorrect message type, expected 0x245, is {}", - msg_type + "Incorrect message type, expected 0x245, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_protection_level.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_protection_level.rs index 02ee4fb70f..d29397e566 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_protection_level.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_protection_level.rs @@ -41,8 +41,7 @@ fn test_auto_check_sbp_navigation_msg_protection_level() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x217, - "Incorrect message type, expected 0x217, is {}", - msg_type + "Incorrect message type, expected 0x217, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_protection_level_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_protection_level_dep_a.rs index e1669a67fe..08f933c12f 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_protection_level_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_protection_level_dep_a.rs @@ -39,8 +39,7 @@ fn test_auto_check_sbp_navigation_msg_protection_level_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x216, - "Incorrect message type, expected 0x216, is {}", - msg_type + "Incorrect message type, expected 0x216, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_reference_frame_param.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_reference_frame_param.rs index eac81d7d16..07ccfb29cf 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_reference_frame_param.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_reference_frame_param.rs @@ -41,8 +41,7 @@ fn test_auto_check_sbp_navigation_msg_reference_frame_param() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 580, - "Incorrect message type, expected 580, is {}", - msg_type + "Incorrect message type, expected 580, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_utc_leap_second.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_utc_leap_second.rs index bfae1f2c5a..b73ec56376 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_utc_leap_second.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_utc_leap_second.rs @@ -37,8 +37,7 @@ fn test_auto_check_sbp_navigation_msg_utc_leap_second() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 570, - "Incorrect message type, expected 570, is {}", - msg_type + "Incorrect message type, expected 570, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_utc_time.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_utc_time.rs index f51201d8e0..7505a5b923 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_utc_time.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_utc_time.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_navigation_msg_utc_time() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x103, - "Incorrect message type, expected 0x103, is {}", - msg_type + "Incorrect message type, expected 0x103, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_utc_time_gnss.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_utc_time_gnss.rs index 596ddca5c3..c34f093985 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_utc_time_gnss.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_utc_time_gnss.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_navigation_msg_utc_time_gnss() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x105, - "Incorrect message type, expected 0x105, is {}", - msg_type + "Incorrect message type, expected 0x105, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_body.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_body.rs index bf57a7280c..7c4c5028dc 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_body.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_body.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_navigation_msg_vel_body() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x213, - "Incorrect message type, expected 0x213, is {}", - msg_type + "Incorrect message type, expected 0x213, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_cog.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_cog.rs index d84fd72f4b..0f30287fd0 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_cog.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_cog.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_navigation_msg_vel_cog() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x21C, - "Incorrect message type, expected 0x21C, is {}", - msg_type + "Incorrect message type, expected 0x21C, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -110,8 +109,7 @@ fn test_auto_check_sbp_navigation_msg_vel_cog() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x21C, - "Incorrect message type, expected 0x21C, is {}", - msg_type + "Incorrect message type, expected 0x21C, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -182,8 +180,7 @@ fn test_auto_check_sbp_navigation_msg_vel_cog() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x21C, - "Incorrect message type, expected 0x21C, is {}", - msg_type + "Incorrect message type, expected 0x21C, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ecef.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ecef.rs index ffbd472626..d4cd02fa5f 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ecef.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ecef.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_navigation_msg_vel_ecef() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20d, - "Incorrect message type, expected 0x20d, is {}", - msg_type + "Incorrect message type, expected 0x20d, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -105,8 +104,7 @@ fn test_auto_check_sbp_navigation_msg_vel_ecef() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20d, - "Incorrect message type, expected 0x20d, is {}", - msg_type + "Incorrect message type, expected 0x20d, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -172,8 +170,7 @@ fn test_auto_check_sbp_navigation_msg_vel_ecef() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20d, - "Incorrect message type, expected 0x20d, is {}", - msg_type + "Incorrect message type, expected 0x20d, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -235,8 +232,7 @@ fn test_auto_check_sbp_navigation_msg_vel_ecef() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20d, - "Incorrect message type, expected 0x20d, is {}", - msg_type + "Incorrect message type, expected 0x20d, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -302,8 +298,7 @@ fn test_auto_check_sbp_navigation_msg_vel_ecef() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20d, - "Incorrect message type, expected 0x20d, is {}", - msg_type + "Incorrect message type, expected 0x20d, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ecef_cov.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ecef_cov.rs index 3d4778dca9..157dc3c2cf 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ecef_cov.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ecef_cov.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_navigation_msg_vel_ecef_cov() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x215, - "Incorrect message type, expected 0x215, is {}", - msg_type + "Incorrect message type, expected 0x215, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ecef_cov_gnss.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ecef_cov_gnss.rs index b20aa352d6..c7b2537950 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ecef_cov_gnss.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ecef_cov_gnss.rs @@ -39,8 +39,7 @@ fn test_auto_check_sbp_navigation_msg_vel_ecef_cov_gnss() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x235, - "Incorrect message type, expected 0x235, is {}", - msg_type + "Incorrect message type, expected 0x235, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ecef_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ecef_dep_a.rs index 9bc47488b6..17d9c9fb2b 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ecef_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ecef_dep_a.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_navigation_msg_vel_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x204, - "Incorrect message type, expected 0x204, is {}", - msg_type + "Incorrect message type, expected 0x204, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -105,8 +104,7 @@ fn test_auto_check_sbp_navigation_msg_vel_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x204, - "Incorrect message type, expected 0x204, is {}", - msg_type + "Incorrect message type, expected 0x204, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -172,8 +170,7 @@ fn test_auto_check_sbp_navigation_msg_vel_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x204, - "Incorrect message type, expected 0x204, is {}", - msg_type + "Incorrect message type, expected 0x204, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -239,8 +236,7 @@ fn test_auto_check_sbp_navigation_msg_vel_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x204, - "Incorrect message type, expected 0x204, is {}", - msg_type + "Incorrect message type, expected 0x204, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -306,8 +302,7 @@ fn test_auto_check_sbp_navigation_msg_vel_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x204, - "Incorrect message type, expected 0x204, is {}", - msg_type + "Incorrect message type, expected 0x204, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -373,8 +368,7 @@ fn test_auto_check_sbp_navigation_msg_vel_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x204, - "Incorrect message type, expected 0x204, is {}", - msg_type + "Incorrect message type, expected 0x204, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -440,8 +434,7 @@ fn test_auto_check_sbp_navigation_msg_vel_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x204, - "Incorrect message type, expected 0x204, is {}", - msg_type + "Incorrect message type, expected 0x204, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -503,8 +496,7 @@ fn test_auto_check_sbp_navigation_msg_vel_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x204, - "Incorrect message type, expected 0x204, is {}", - msg_type + "Incorrect message type, expected 0x204, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -562,8 +554,7 @@ fn test_auto_check_sbp_navigation_msg_vel_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x204, - "Incorrect message type, expected 0x204, is {}", - msg_type + "Incorrect message type, expected 0x204, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -629,8 +620,7 @@ fn test_auto_check_sbp_navigation_msg_vel_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x204, - "Incorrect message type, expected 0x204, is {}", - msg_type + "Incorrect message type, expected 0x204, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -692,8 +682,7 @@ fn test_auto_check_sbp_navigation_msg_vel_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x204, - "Incorrect message type, expected 0x204, is {}", - msg_type + "Incorrect message type, expected 0x204, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ecef_gnss.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ecef_gnss.rs index 3d40cd85bb..01d827b08b 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ecef_gnss.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ecef_gnss.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_navigation_msg_vel_ecef_gnss() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x22d, - "Incorrect message type, expected 0x22d, is {}", - msg_type + "Incorrect message type, expected 0x22d, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ned.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ned.rs index f0de9d1782..3ebea9daa2 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ned.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ned.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_navigation_msg_vel_ned() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20e, - "Incorrect message type, expected 0x20e, is {}", - msg_type + "Incorrect message type, expected 0x20e, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -106,8 +105,7 @@ fn test_auto_check_sbp_navigation_msg_vel_ned() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20e, - "Incorrect message type, expected 0x20e, is {}", - msg_type + "Incorrect message type, expected 0x20e, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -178,8 +176,7 @@ fn test_auto_check_sbp_navigation_msg_vel_ned() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20e, - "Incorrect message type, expected 0x20e, is {}", - msg_type + "Incorrect message type, expected 0x20e, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -246,8 +243,7 @@ fn test_auto_check_sbp_navigation_msg_vel_ned() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20e, - "Incorrect message type, expected 0x20e, is {}", - msg_type + "Incorrect message type, expected 0x20e, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -310,8 +306,7 @@ fn test_auto_check_sbp_navigation_msg_vel_ned() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20e, - "Incorrect message type, expected 0x20e, is {}", - msg_type + "Incorrect message type, expected 0x20e, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ned_cov_gnss.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ned_cov_gnss.rs index 1299497a8b..2b05ce9d73 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ned_cov_gnss.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ned_cov_gnss.rs @@ -39,8 +39,7 @@ fn test_auto_check_sbp_navigation_msg_vel_ned_cov_gnss() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x232, - "Incorrect message type, expected 0x232, is {}", - msg_type + "Incorrect message type, expected 0x232, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ned_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ned_dep_a.rs index 428f5ed48d..e514b2418f 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ned_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ned_dep_a.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_navigation_msg_vel_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x205, - "Incorrect message type, expected 0x205, is {}", - msg_type + "Incorrect message type, expected 0x205, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -106,8 +105,7 @@ fn test_auto_check_sbp_navigation_msg_vel_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x205, - "Incorrect message type, expected 0x205, is {}", - msg_type + "Incorrect message type, expected 0x205, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -174,8 +172,7 @@ fn test_auto_check_sbp_navigation_msg_vel_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x205, - "Incorrect message type, expected 0x205, is {}", - msg_type + "Incorrect message type, expected 0x205, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -242,8 +239,7 @@ fn test_auto_check_sbp_navigation_msg_vel_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x205, - "Incorrect message type, expected 0x205, is {}", - msg_type + "Incorrect message type, expected 0x205, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -310,8 +306,7 @@ fn test_auto_check_sbp_navigation_msg_vel_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x205, - "Incorrect message type, expected 0x205, is {}", - msg_type + "Incorrect message type, expected 0x205, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -378,8 +373,7 @@ fn test_auto_check_sbp_navigation_msg_vel_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x205, - "Incorrect message type, expected 0x205, is {}", - msg_type + "Incorrect message type, expected 0x205, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -450,8 +444,7 @@ fn test_auto_check_sbp_navigation_msg_vel_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x205, - "Incorrect message type, expected 0x205, is {}", - msg_type + "Incorrect message type, expected 0x205, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -518,8 +511,7 @@ fn test_auto_check_sbp_navigation_msg_vel_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x205, - "Incorrect message type, expected 0x205, is {}", - msg_type + "Incorrect message type, expected 0x205, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -590,8 +582,7 @@ fn test_auto_check_sbp_navigation_msg_vel_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x205, - "Incorrect message type, expected 0x205, is {}", - msg_type + "Incorrect message type, expected 0x205, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -658,8 +649,7 @@ fn test_auto_check_sbp_navigation_msg_vel_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x205, - "Incorrect message type, expected 0x205, is {}", - msg_type + "Incorrect message type, expected 0x205, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -726,8 +716,7 @@ fn test_auto_check_sbp_navigation_msg_vel_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x205, - "Incorrect message type, expected 0x205, is {}", - msg_type + "Incorrect message type, expected 0x205, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ned_gnss.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ned_gnss.rs index df7b09813a..442994fd2b 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ned_gnss.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ned_gnss.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_navigation_msg_vel_ned_gnss() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x22e, - "Incorrect message type, expected 0x22e, is {}", - msg_type + "Incorrect message type, expected 0x22e, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_nedcov.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_nedcov.rs index beb062b78c..ad1bbee50c 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_nedcov.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_nedcov.rs @@ -39,8 +39,7 @@ fn test_auto_check_sbp_navigation_msg_vel_nedcov() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x212, - "Incorrect message type, expected 0x212, is {}", - msg_type + "Incorrect message type, expected 0x212, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_ndb_msg_ndb_event.rs b/rust/sbp/tests/integration/auto_check_sbp_ndb_msg_ndb_event.rs index 9ce3ee4746..72b5300bef 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ndb_msg_ndb_event.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ndb_msg_ndb_event.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_ndb_msg_ndb_event() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x400, - "Incorrect message type, expected 0x400, is {}", - msg_type + "Incorrect message type, expected 0x400, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_almanac_glo.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_almanac_glo.rs index c990e63cfc..78ed45f920 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_almanac_glo.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_almanac_glo.rs @@ -41,8 +41,7 @@ fn test_auto_check_sbp_observation_msg_almanac_glo() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x73, - "Incorrect message type, expected 0x73, is {}", - msg_type + "Incorrect message type, expected 0x73, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_almanac_glo_dep.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_almanac_glo_dep.rs index 561e6f053b..0ace1e969b 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_almanac_glo_dep.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_almanac_glo_dep.rs @@ -41,8 +41,7 @@ fn test_auto_check_sbp_observation_msg_almanac_glo_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x71, - "Incorrect message type, expected 0x71, is {}", - msg_type + "Incorrect message type, expected 0x71, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_almanac_gps.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_almanac_gps.rs index ffdf5bb19f..7ddb1df3d1 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_almanac_gps.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_almanac_gps.rs @@ -41,8 +41,7 @@ fn test_auto_check_sbp_observation_msg_almanac_gps() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x72, - "Incorrect message type, expected 0x72, is {}", - msg_type + "Incorrect message type, expected 0x72, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_almanac_gps_dep.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_almanac_gps_dep.rs index 80e1803a67..566c6d977c 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_almanac_gps_dep.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_almanac_gps_dep.rs @@ -42,8 +42,7 @@ fn test_auto_check_sbp_observation_msg_almanac_gps_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x70, - "Incorrect message type, expected 0x70, is {}", - msg_type + "Incorrect message type, expected 0x70, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_base_pos_ecef.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_base_pos_ecef.rs index 83ac90f72b..88a5077916 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_base_pos_ecef.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_base_pos_ecef.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_observation_msg_base_pos_ecef() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x48, - "Incorrect message type, expected 0x48, is {}", - msg_type + "Incorrect message type, expected 0x48, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_base_pos_llh.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_base_pos_llh.rs index 57fc3c2f9f..9243453323 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_base_pos_llh.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_base_pos_llh.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_observation_msg_base_pos_llh() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x44, - "Incorrect message type, expected 0x44, is {}", - msg_type + "Incorrect message type, expected 0x44, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_bds.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_bds.rs index 911034669e..2a3c9dddc7 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_bds.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_bds.rs @@ -44,8 +44,7 @@ fn test_auto_check_sbp_observation_msg_ephemeris_bds() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x89, - "Incorrect message type, expected 0x89, is {}", - msg_type + "Incorrect message type, expected 0x89, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_dep_a.rs index 319ea5177c..5352b388da 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_dep_a.rs @@ -45,8 +45,7 @@ fn test_auto_check_sbp_observation_msg_ephemeris_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x1a, - "Incorrect message type, expected 0x1a, is {}", - msg_type + "Incorrect message type, expected 0x1a, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_dep_b.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_dep_b.rs index 91389b2c38..655e49bcaa 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_dep_b.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_dep_b.rs @@ -45,8 +45,7 @@ fn test_auto_check_sbp_observation_msg_ephemeris_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x46, - "Incorrect message type, expected 0x46, is {}", - msg_type + "Incorrect message type, expected 0x46, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -219,8 +218,7 @@ fn test_auto_check_sbp_observation_msg_ephemeris_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x46, - "Incorrect message type, expected 0x46, is {}", - msg_type + "Incorrect message type, expected 0x46, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -393,8 +391,7 @@ fn test_auto_check_sbp_observation_msg_ephemeris_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x46, - "Incorrect message type, expected 0x46, is {}", - msg_type + "Incorrect message type, expected 0x46, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -567,8 +564,7 @@ fn test_auto_check_sbp_observation_msg_ephemeris_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x46, - "Incorrect message type, expected 0x46, is {}", - msg_type + "Incorrect message type, expected 0x46, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -741,8 +737,7 @@ fn test_auto_check_sbp_observation_msg_ephemeris_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x46, - "Incorrect message type, expected 0x46, is {}", - msg_type + "Incorrect message type, expected 0x46, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -915,8 +910,7 @@ fn test_auto_check_sbp_observation_msg_ephemeris_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x46, - "Incorrect message type, expected 0x46, is {}", - msg_type + "Incorrect message type, expected 0x46, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_dep_c.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_dep_c.rs index 289913119b..d5bf2021ac 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_dep_c.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_dep_c.rs @@ -46,8 +46,7 @@ fn test_auto_check_sbp_observation_msg_ephemeris_dep_c() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x47, - "Incorrect message type, expected 0x47, is {}", - msg_type + "Incorrect message type, expected 0x47, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_dep_d.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_dep_d.rs index f43beed03e..4bda3af792 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_dep_d.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_dep_d.rs @@ -46,8 +46,7 @@ fn test_auto_check_sbp_observation_msg_ephemeris_dep_d() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x80, - "Incorrect message type, expected 0x80, is {}", - msg_type + "Incorrect message type, expected 0x80, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_gal.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_gal.rs index fe22ce8cf2..c981ec362e 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_gal.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_gal.rs @@ -44,8 +44,7 @@ fn test_auto_check_sbp_observation_msg_ephemeris_gal() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x8d, - "Incorrect message type, expected 0x8d, is {}", - msg_type + "Incorrect message type, expected 0x8d, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_gal_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_gal_dep_a.rs index 074b375949..c148b665c7 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_gal_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_gal_dep_a.rs @@ -45,8 +45,7 @@ fn test_auto_check_sbp_observation_msg_ephemeris_gal_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x95, - "Incorrect message type, expected 0x95, is {}", - msg_type + "Incorrect message type, expected 0x95, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_glo.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_glo.rs index 55d552f8c9..1ad72883db 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_glo.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_glo.rs @@ -41,8 +41,7 @@ fn test_auto_check_sbp_observation_msg_ephemeris_glo() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x8b, - "Incorrect message type, expected 0x8b, is {}", - msg_type + "Incorrect message type, expected 0x8b, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_glo_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_glo_dep_a.rs index f86b02c4da..74f85c45d1 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_glo_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_glo_dep_a.rs @@ -42,8 +42,7 @@ fn test_auto_check_sbp_observation_msg_ephemeris_glo_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x83, - "Incorrect message type, expected 0x83, is {}", - msg_type + "Incorrect message type, expected 0x83, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_glo_dep_b.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_glo_dep_b.rs index 5b44d324ac..5c76954921 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_glo_dep_b.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_glo_dep_b.rs @@ -42,8 +42,7 @@ fn test_auto_check_sbp_observation_msg_ephemeris_glo_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x85, - "Incorrect message type, expected 0x85, is {}", - msg_type + "Incorrect message type, expected 0x85, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_glo_dep_c.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_glo_dep_c.rs index 6324c9b752..ea8a40b8fa 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_glo_dep_c.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_glo_dep_c.rs @@ -42,8 +42,7 @@ fn test_auto_check_sbp_observation_msg_ephemeris_glo_dep_c() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x87, - "Incorrect message type, expected 0x87, is {}", - msg_type + "Incorrect message type, expected 0x87, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_glo_dep_d.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_glo_dep_d.rs index b0ed888d1f..0faa550ff1 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_glo_dep_d.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_glo_dep_d.rs @@ -42,8 +42,7 @@ fn test_auto_check_sbp_observation_msg_ephemeris_glo_dep_d() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x88, - "Incorrect message type, expected 0x88, is {}", - msg_type + "Incorrect message type, expected 0x88, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_gps.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_gps.rs index 3f9dc37430..27d393c22b 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_gps.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_gps.rs @@ -44,8 +44,7 @@ fn test_auto_check_sbp_observation_msg_ephemeris_gps() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x8a, - "Incorrect message type, expected 0x8a, is {}", - msg_type + "Incorrect message type, expected 0x8a, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_gps_dep_e.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_gps_dep_e.rs index ddfa75c2a8..c44ec431a4 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_gps_dep_e.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_gps_dep_e.rs @@ -45,8 +45,7 @@ fn test_auto_check_sbp_observation_msg_ephemeris_gps_dep_e() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x81, - "Incorrect message type, expected 0x81, is {}", - msg_type + "Incorrect message type, expected 0x81, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_gps_dep_f.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_gps_dep_f.rs index 553d6042b5..9d637216e8 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_gps_dep_f.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_gps_dep_f.rs @@ -45,8 +45,7 @@ fn test_auto_check_sbp_observation_msg_ephemeris_gps_dep_f() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x86, - "Incorrect message type, expected 0x86, is {}", - msg_type + "Incorrect message type, expected 0x86, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_qzss.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_qzss.rs index 8fd83f74b2..8839c7643d 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_qzss.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_qzss.rs @@ -44,8 +44,7 @@ fn test_auto_check_sbp_observation_msg_ephemeris_qzss() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x8e, - "Incorrect message type, expected 0x8e, is {}", - msg_type + "Incorrect message type, expected 0x8e, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_sbas.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_sbas.rs index 00bc0742a8..e3fd88eb44 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_sbas.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_sbas.rs @@ -40,8 +40,7 @@ fn test_auto_check_sbp_observation_msg_ephemeris_sbas() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x8c, - "Incorrect message type, expected 0x8c, is {}", - msg_type + "Incorrect message type, expected 0x8c, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_sbas_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_sbas_dep_a.rs index 3e5e26f5f5..1b8ec28984 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_sbas_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_sbas_dep_a.rs @@ -42,8 +42,7 @@ fn test_auto_check_sbp_observation_msg_ephemeris_sbas_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x82, - "Incorrect message type, expected 0x82, is {}", - msg_type + "Incorrect message type, expected 0x82, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_sbas_dep_b.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_sbas_dep_b.rs index a029ee2f1f..a136ba7beb 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_sbas_dep_b.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_sbas_dep_b.rs @@ -42,8 +42,7 @@ fn test_auto_check_sbp_observation_msg_ephemeris_sbas_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x84, - "Incorrect message type, expected 0x84, is {}", - msg_type + "Incorrect message type, expected 0x84, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_glo_biases.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_glo_biases.rs index f3098639c5..251c33d314 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_glo_biases.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_glo_biases.rs @@ -37,8 +37,7 @@ fn test_auto_check_sbp_observation_msg_glo_biases() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x75, - "Incorrect message type, expected 0x75, is {}", - msg_type + "Incorrect message type, expected 0x75, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_gnss_capb.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_gnss_capb.rs index cffa7e114f..3470876849 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_gnss_capb.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_gnss_capb.rs @@ -42,8 +42,7 @@ fn test_auto_check_sbp_observation_msg_gnss_capb() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x96, - "Incorrect message type, expected 0x96, is {}", - msg_type + "Incorrect message type, expected 0x96, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_group_delay.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_group_delay.rs index 00778ca596..b6bdb4434f 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_group_delay.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_group_delay.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_observation_msg_group_delay() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x94, - "Incorrect message type, expected 0x94, is {}", - msg_type + "Incorrect message type, expected 0x94, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_group_delay_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_group_delay_dep_a.rs index 4c0d2d3f6d..357dc0bc42 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_group_delay_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_group_delay_dep_a.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_observation_msg_group_delay_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x92, - "Incorrect message type, expected 0x92, is {}", - msg_type + "Incorrect message type, expected 0x92, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_group_delay_dep_b.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_group_delay_dep_b.rs index 44dbbc6700..1ea42a015f 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_group_delay_dep_b.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_group_delay_dep_b.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_observation_msg_group_delay_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x93, - "Incorrect message type, expected 0x93, is {}", - msg_type + "Incorrect message type, expected 0x93, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_iono.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_iono.rs index 0ddcfa0457..998c100807 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_iono.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_iono.rs @@ -40,8 +40,7 @@ fn test_auto_check_sbp_observation_msg_iono() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x90, - "Incorrect message type, expected 0x90, is {}", - msg_type + "Incorrect message type, expected 0x90, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_obs.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_obs.rs index d41fe08619..df84e85fde 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_obs.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_obs.rs @@ -49,8 +49,7 @@ fn test_auto_check_sbp_observation_msg_obs() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x4a, - "Incorrect message type, expected 0x4a, is {}", - msg_type + "Incorrect message type, expected 0x4a, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -800,8 +799,7 @@ fn test_auto_check_sbp_observation_msg_obs() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x4a, - "Incorrect message type, expected 0x4a, is {}", - msg_type + "Incorrect message type, expected 0x4a, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_obs_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_obs_dep_a.rs index 8456761306..2044225a1e 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_obs_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_obs_dep_a.rs @@ -42,8 +42,7 @@ fn test_auto_check_sbp_observation_msg_obs_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x45, - "Incorrect message type, expected 0x45, is {}", - msg_type + "Incorrect message type, expected 0x45, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -299,8 +298,7 @@ fn test_auto_check_sbp_observation_msg_obs_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x45, - "Incorrect message type, expected 0x45, is {}", - msg_type + "Incorrect message type, expected 0x45, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -380,8 +378,7 @@ fn test_auto_check_sbp_observation_msg_obs_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x45, - "Incorrect message type, expected 0x45, is {}", - msg_type + "Incorrect message type, expected 0x45, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -637,8 +634,7 @@ fn test_auto_check_sbp_observation_msg_obs_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x45, - "Incorrect message type, expected 0x45, is {}", - msg_type + "Incorrect message type, expected 0x45, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -717,8 +713,7 @@ fn test_auto_check_sbp_observation_msg_obs_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x45, - "Incorrect message type, expected 0x45, is {}", - msg_type + "Incorrect message type, expected 0x45, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -917,8 +912,7 @@ fn test_auto_check_sbp_observation_msg_obs_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x45, - "Incorrect message type, expected 0x45, is {}", - msg_type + "Incorrect message type, expected 0x45, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_obs_dep_b.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_obs_dep_b.rs index cb2708a1ef..dd87ad72ed 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_obs_dep_b.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_obs_dep_b.rs @@ -42,8 +42,7 @@ fn test_auto_check_sbp_observation_msg_obs_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x43, - "Incorrect message type, expected 0x43, is {}", - msg_type + "Incorrect message type, expected 0x43, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -330,8 +329,7 @@ fn test_auto_check_sbp_observation_msg_obs_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x43, - "Incorrect message type, expected 0x43, is {}", - msg_type + "Incorrect message type, expected 0x43, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -501,8 +499,7 @@ fn test_auto_check_sbp_observation_msg_obs_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x43, - "Incorrect message type, expected 0x43, is {}", - msg_type + "Incorrect message type, expected 0x43, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -789,8 +786,7 @@ fn test_auto_check_sbp_observation_msg_obs_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x43, - "Incorrect message type, expected 0x43, is {}", - msg_type + "Incorrect message type, expected 0x43, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -960,8 +956,7 @@ fn test_auto_check_sbp_observation_msg_obs_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x43, - "Incorrect message type, expected 0x43, is {}", - msg_type + "Incorrect message type, expected 0x43, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_obs_dep_c.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_obs_dep_c.rs index 6137d5ba34..77e33f47cf 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_obs_dep_c.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_obs_dep_c.rs @@ -41,8 +41,7 @@ fn test_auto_check_sbp_observation_msg_obs_dep_c() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x49, - "Incorrect message type, expected 0x49, is {}", - msg_type + "Incorrect message type, expected 0x49, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -289,8 +288,7 @@ fn test_auto_check_sbp_observation_msg_obs_dep_c() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x49, - "Incorrect message type, expected 0x49, is {}", - msg_type + "Incorrect message type, expected 0x49, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -459,8 +457,7 @@ fn test_auto_check_sbp_observation_msg_obs_dep_c() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x49, - "Incorrect message type, expected 0x49, is {}", - msg_type + "Incorrect message type, expected 0x49, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -707,8 +704,7 @@ fn test_auto_check_sbp_observation_msg_obs_dep_c() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x49, - "Incorrect message type, expected 0x49, is {}", - msg_type + "Incorrect message type, expected 0x49, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -877,8 +873,7 @@ fn test_auto_check_sbp_observation_msg_obs_dep_c() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x49, - "Incorrect message type, expected 0x49, is {}", - msg_type + "Incorrect message type, expected 0x49, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_osr.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_osr.rs index 90053e734a..22aef4c4fb 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_osr.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_osr.rs @@ -47,8 +47,7 @@ fn test_auto_check_sbp_observation_msg_osr() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x640, - "Incorrect message type, expected 0x640, is {}", - msg_type + "Incorrect message type, expected 0x640, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_sv_az_el.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_sv_az_el.rs index 5ac542b51b..b9b79c53cf 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_sv_az_el.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_sv_az_el.rs @@ -43,8 +43,7 @@ fn test_auto_check_sbp_observation_msg_sv_az_el() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x97, - "Incorrect message type, expected 0x97, is {}", - msg_type + "Incorrect message type, expected 0x97, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_sv_configuration_gps_dep.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_sv_configuration_gps_dep.rs index b92b0d634f..b7e29e11e6 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_sv_configuration_gps_dep.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_sv_configuration_gps_dep.rs @@ -37,8 +37,7 @@ fn test_auto_check_sbp_observation_msg_sv_configuration_gps_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x91, - "Incorrect message type, expected 0x91, is {}", - msg_type + "Incorrect message type, expected 0x91, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_orientation_msg_angular_rate.rs b/rust/sbp/tests/integration/auto_check_sbp_orientation_msg_angular_rate.rs index d92a653854..b5fc143cdd 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_orientation_msg_angular_rate.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_orientation_msg_angular_rate.rs @@ -37,8 +37,7 @@ fn test_auto_check_sbp_orientation_msg_angular_rate() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x222, - "Incorrect message type, expected 0x222, is {}", - msg_type + "Incorrect message type, expected 0x222, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_orientation_msg_baseline_heading.rs b/rust/sbp/tests/integration/auto_check_sbp_orientation_msg_baseline_heading.rs index cc63b7ae63..47b0f7c70f 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_orientation_msg_baseline_heading.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_orientation_msg_baseline_heading.rs @@ -37,8 +37,7 @@ fn test_auto_check_sbp_orientation_msg_baseline_heading() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20f, - "Incorrect message type, expected 0x20f, is {}", - msg_type + "Incorrect message type, expected 0x20f, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_orientation_msg_orient_euler.rs b/rust/sbp/tests/integration/auto_check_sbp_orientation_msg_orient_euler.rs index 3ca9d37de3..d8258c8306 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_orientation_msg_orient_euler.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_orientation_msg_orient_euler.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_orientation_msg_orient_euler() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x221, - "Incorrect message type, expected 0x221, is {}", - msg_type + "Incorrect message type, expected 0x221, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_orientation_msg_orient_quat.rs b/rust/sbp/tests/integration/auto_check_sbp_orientation_msg_orient_quat.rs index f8da4a88fa..d3de2ca89c 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_orientation_msg_orient_quat.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_orientation_msg_orient_quat.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_orientation_msg_orient_quat() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x220, - "Incorrect message type, expected 0x220, is {}", - msg_type + "Incorrect message type, expected 0x220, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_almanac.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_almanac.rs index 1c850fa0fa..2955910afd 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_almanac.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_almanac.rs @@ -35,8 +35,7 @@ fn test_auto_check_sbp_piksi_msg_almanac() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x69, - "Incorrect message type, expected 0x69, is {}", - msg_type + "Incorrect message type, expected 0x69, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_cell_modem_status.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_cell_modem_status.rs index f4c8ba48ca..25095ec346 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_cell_modem_status.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_cell_modem_status.rs @@ -50,8 +50,7 @@ fn test_auto_check_sbp_piksi_msg_cell_modem_status() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xbe, - "Incorrect message type, expected 0xbe, is {}", - msg_type + "Incorrect message type, expected 0xbe, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_command_output.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_command_output.rs index 32939da166..1f65861414 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_command_output.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_command_output.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_piksi_msg_command_output() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xbc, - "Incorrect message type, expected 0xbc, is {}", - msg_type + "Incorrect message type, expected 0xbc, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_command_req.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_command_req.rs index 97f1c491c1..0ea755b6c1 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_command_req.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_command_req.rs @@ -39,8 +39,7 @@ fn test_auto_check_sbp_piksi_msg_command_req() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xb8, - "Incorrect message type, expected 0xb8, is {}", - msg_type + "Incorrect message type, expected 0xb8, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_command_resp.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_command_resp.rs index 96714fffe0..99b3eb486f 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_command_resp.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_command_resp.rs @@ -37,8 +37,7 @@ fn test_auto_check_sbp_piksi_msg_command_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xb9, - "Incorrect message type, expected 0xb9, is {}", - msg_type + "Incorrect message type, expected 0xb9, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_cw_results.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_cw_results.rs index 3697131f5a..5ed12f0ca7 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_cw_results.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_cw_results.rs @@ -35,8 +35,7 @@ fn test_auto_check_sbp_piksi_msg_cw_results() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xc0, - "Incorrect message type, expected 0xc0, is {}", - msg_type + "Incorrect message type, expected 0xc0, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_cw_start.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_cw_start.rs index efc26887ec..f0ca3317a5 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_cw_start.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_cw_start.rs @@ -35,8 +35,7 @@ fn test_auto_check_sbp_piksi_msg_cw_start() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xc1, - "Incorrect message type, expected 0xc1, is {}", - msg_type + "Incorrect message type, expected 0xc1, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_device_monitor.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_device_monitor.rs index 2a54ce7ee4..e4b2cc4295 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_device_monitor.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_device_monitor.rs @@ -37,8 +37,7 @@ fn test_auto_check_sbp_piksi_msg_device_monitor() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xb5, - "Incorrect message type, expected 0xb5, is {}", - msg_type + "Incorrect message type, expected 0xb5, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -93,8 +92,7 @@ fn test_auto_check_sbp_piksi_msg_device_monitor() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xb5, - "Incorrect message type, expected 0xb5, is {}", - msg_type + "Incorrect message type, expected 0xb5, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -149,8 +147,7 @@ fn test_auto_check_sbp_piksi_msg_device_monitor() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xb5, - "Incorrect message type, expected 0xb5, is {}", - msg_type + "Incorrect message type, expected 0xb5, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -205,8 +202,7 @@ fn test_auto_check_sbp_piksi_msg_device_monitor() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xb5, - "Incorrect message type, expected 0xb5, is {}", - msg_type + "Incorrect message type, expected 0xb5, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -261,8 +257,7 @@ fn test_auto_check_sbp_piksi_msg_device_monitor() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xb5, - "Incorrect message type, expected 0xb5, is {}", - msg_type + "Incorrect message type, expected 0xb5, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_front_end_gain.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_front_end_gain.rs index ef07673071..058bc344cf 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_front_end_gain.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_front_end_gain.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_piksi_msg_front_end_gain() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xbf, - "Incorrect message type, expected 0xbf, is {}", - msg_type + "Incorrect message type, expected 0xbf, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_iar_state.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_iar_state.rs index 417a69e095..a4aee35187 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_iar_state.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_iar_state.rs @@ -35,8 +35,7 @@ fn test_auto_check_sbp_piksi_msg_iar_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x19, - "Incorrect message type, expected 0x19, is {}", - msg_type + "Incorrect message type, expected 0x19, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -69,8 +68,7 @@ fn test_auto_check_sbp_piksi_msg_iar_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x19, - "Incorrect message type, expected 0x19, is {}", - msg_type + "Incorrect message type, expected 0x19, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -103,8 +101,7 @@ fn test_auto_check_sbp_piksi_msg_iar_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x19, - "Incorrect message type, expected 0x19, is {}", - msg_type + "Incorrect message type, expected 0x19, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -137,8 +134,7 @@ fn test_auto_check_sbp_piksi_msg_iar_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x19, - "Incorrect message type, expected 0x19, is {}", - msg_type + "Incorrect message type, expected 0x19, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -171,8 +167,7 @@ fn test_auto_check_sbp_piksi_msg_iar_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x19, - "Incorrect message type, expected 0x19, is {}", - msg_type + "Incorrect message type, expected 0x19, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -205,8 +200,7 @@ fn test_auto_check_sbp_piksi_msg_iar_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x19, - "Incorrect message type, expected 0x19, is {}", - msg_type + "Incorrect message type, expected 0x19, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -239,8 +233,7 @@ fn test_auto_check_sbp_piksi_msg_iar_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x19, - "Incorrect message type, expected 0x19, is {}", - msg_type + "Incorrect message type, expected 0x19, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_init_base_dep.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_init_base_dep.rs index 8f81867651..22462cc6c4 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_init_base_dep.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_init_base_dep.rs @@ -35,8 +35,7 @@ fn test_auto_check_sbp_piksi_msg_init_base_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x23, - "Incorrect message type, expected 0x23, is {}", - msg_type + "Incorrect message type, expected 0x23, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_mask_satellite.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_mask_satellite.rs index c1fecb8c3c..7a60481f1f 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_mask_satellite.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_mask_satellite.rs @@ -35,8 +35,7 @@ fn test_auto_check_sbp_piksi_msg_mask_satellite() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x2b, - "Incorrect message type, expected 0x2b, is {}", - msg_type + "Incorrect message type, expected 0x2b, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_mask_satellite_dep.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_mask_satellite_dep.rs index d80b43e3f2..867cbc48f6 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_mask_satellite_dep.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_mask_satellite_dep.rs @@ -35,8 +35,7 @@ fn test_auto_check_sbp_piksi_msg_mask_satellite_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x1b, - "Incorrect message type, expected 0x1b, is {}", - msg_type + "Incorrect message type, expected 0x1b, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_network_bandwidth_usage.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_network_bandwidth_usage.rs index e4460c1059..58885a34ff 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_network_bandwidth_usage.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_network_bandwidth_usage.rs @@ -45,8 +45,7 @@ fn test_auto_check_sbp_piksi_msg_network_bandwidth_usage() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xBD, - "Incorrect message type, expected 0xBD, is {}", - msg_type + "Incorrect message type, expected 0xBD, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_network_state_req.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_network_state_req.rs index a24405aaa0..78d2d8dd3b 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_network_state_req.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_network_state_req.rs @@ -35,8 +35,7 @@ fn test_auto_check_sbp_piksi_msg_network_state_req() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xba, - "Incorrect message type, expected 0xba, is {}", - msg_type + "Incorrect message type, expected 0xba, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_network_state_resp.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_network_state_resp.rs index 6c07b09ffa..3a9aa24ee8 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_network_state_resp.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_network_state_resp.rs @@ -39,8 +39,7 @@ fn test_auto_check_sbp_piksi_msg_network_state_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xbb, - "Incorrect message type, expected 0xbb, is {}", - msg_type + "Incorrect message type, expected 0xbb, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_reset.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_reset.rs index b0a6ab2752..f5adee7cc2 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_reset.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_reset.rs @@ -35,8 +35,7 @@ fn test_auto_check_sbp_piksi_msg_reset() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xb6, - "Incorrect message type, expected 0xb6, is {}", - msg_type + "Incorrect message type, expected 0xb6, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_reset_dep.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_reset_dep.rs index ba0cebd090..74470bb6fb 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_reset_dep.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_reset_dep.rs @@ -35,8 +35,7 @@ fn test_auto_check_sbp_piksi_msg_reset_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xb2, - "Incorrect message type, expected 0xb2, is {}", - msg_type + "Incorrect message type, expected 0xb2, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_reset_filters.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_reset_filters.rs index 010ee41bdc..fa0abc5ee3 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_reset_filters.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_reset_filters.rs @@ -35,8 +35,7 @@ fn test_auto_check_sbp_piksi_msg_reset_filters() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x22, - "Incorrect message type, expected 0x22, is {}", - msg_type + "Incorrect message type, expected 0x22, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_set_time.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_set_time.rs index 4cf3979d45..8d2b1b5fd4 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_set_time.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_set_time.rs @@ -35,8 +35,7 @@ fn test_auto_check_sbp_piksi_msg_set_time() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x68, - "Incorrect message type, expected 0x68, is {}", - msg_type + "Incorrect message type, expected 0x68, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_specan.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_specan.rs index f364ffcfed..659db68b34 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_specan.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_specan.rs @@ -50,8 +50,7 @@ fn test_auto_check_sbp_piksi_msg_specan() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x51, - "Incorrect message type, expected 0x51, is {}", - msg_type + "Incorrect message type, expected 0x51, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_specan_dep.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_specan_dep.rs index 99410c7266..abfa4fe270 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_specan_dep.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_specan_dep.rs @@ -50,8 +50,7 @@ fn test_auto_check_sbp_piksi_msg_specan_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x50, - "Incorrect message type, expected 0x50, is {}", - msg_type + "Incorrect message type, expected 0x50, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_thread_state.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_thread_state.rs index 27305ec49a..6602183b3e 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_thread_state.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_thread_state.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_piksi_msg_thread_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x17, - "Incorrect message type, expected 0x17, is {}", - msg_type + "Incorrect message type, expected 0x17, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -87,8 +86,7 @@ fn test_auto_check_sbp_piksi_msg_thread_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x17, - "Incorrect message type, expected 0x17, is {}", - msg_type + "Incorrect message type, expected 0x17, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -136,8 +134,7 @@ fn test_auto_check_sbp_piksi_msg_thread_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x17, - "Incorrect message type, expected 0x17, is {}", - msg_type + "Incorrect message type, expected 0x17, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -185,8 +182,7 @@ fn test_auto_check_sbp_piksi_msg_thread_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x17, - "Incorrect message type, expected 0x17, is {}", - msg_type + "Incorrect message type, expected 0x17, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -234,8 +230,7 @@ fn test_auto_check_sbp_piksi_msg_thread_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x17, - "Incorrect message type, expected 0x17, is {}", - msg_type + "Incorrect message type, expected 0x17, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -283,8 +278,7 @@ fn test_auto_check_sbp_piksi_msg_thread_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x17, - "Incorrect message type, expected 0x17, is {}", - msg_type + "Incorrect message type, expected 0x17, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -332,8 +326,7 @@ fn test_auto_check_sbp_piksi_msg_thread_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x17, - "Incorrect message type, expected 0x17, is {}", - msg_type + "Incorrect message type, expected 0x17, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -381,8 +374,7 @@ fn test_auto_check_sbp_piksi_msg_thread_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x17, - "Incorrect message type, expected 0x17, is {}", - msg_type + "Incorrect message type, expected 0x17, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -430,8 +422,7 @@ fn test_auto_check_sbp_piksi_msg_thread_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x17, - "Incorrect message type, expected 0x17, is {}", - msg_type + "Incorrect message type, expected 0x17, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -479,8 +470,7 @@ fn test_auto_check_sbp_piksi_msg_thread_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x17, - "Incorrect message type, expected 0x17, is {}", - msg_type + "Incorrect message type, expected 0x17, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -528,8 +518,7 @@ fn test_auto_check_sbp_piksi_msg_thread_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x17, - "Incorrect message type, expected 0x17, is {}", - msg_type + "Incorrect message type, expected 0x17, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_uart_state.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_uart_state.rs index 0264bba52f..aca6c7c47a 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_uart_state.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_uart_state.rs @@ -41,8 +41,7 @@ fn test_auto_check_sbp_piksi_msg_uart_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x1d, - "Incorrect message type, expected 0x1d, is {}", - msg_type + "Incorrect message type, expected 0x1d, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -180,8 +179,7 @@ fn test_auto_check_sbp_piksi_msg_uart_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x18, - "Incorrect message type, expected 0x18, is {}", - msg_type + "Incorrect message type, expected 0x18, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -299,8 +297,7 @@ fn test_auto_check_sbp_piksi_msg_uart_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x18, - "Incorrect message type, expected 0x18, is {}", - msg_type + "Incorrect message type, expected 0x18, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_uart_state_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_uart_state_dep_a.rs index 13c1399201..bd553177de 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_uart_state_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_uart_state_dep_a.rs @@ -39,8 +39,7 @@ fn test_auto_check_sbp_piksi_msg_uart_state_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x18, - "Incorrect message type, expected 0x18, is {}", - msg_type + "Incorrect message type, expected 0x18, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -158,8 +157,7 @@ fn test_auto_check_sbp_piksi_msg_uart_state_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x18, - "Incorrect message type, expected 0x18, is {}", - msg_type + "Incorrect message type, expected 0x18, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -277,8 +275,7 @@ fn test_auto_check_sbp_piksi_msg_uart_state_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x18, - "Incorrect message type, expected 0x18, is {}", - msg_type + "Incorrect message type, expected 0x18, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -396,8 +393,7 @@ fn test_auto_check_sbp_piksi_msg_uart_state_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x18, - "Incorrect message type, expected 0x18, is {}", - msg_type + "Incorrect message type, expected 0x18, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -515,8 +511,7 @@ fn test_auto_check_sbp_piksi_msg_uart_state_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x18, - "Incorrect message type, expected 0x18, is {}", - msg_type + "Incorrect message type, expected 0x18, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -634,8 +629,7 @@ fn test_auto_check_sbp_piksi_msg_uart_state_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x18, - "Incorrect message type, expected 0x18, is {}", - msg_type + "Incorrect message type, expected 0x18, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_profiling_msg_measurement_point.rs b/rust/sbp/tests/integration/auto_check_sbp_profiling_msg_measurement_point.rs index 47d5729914..7444818646 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_profiling_msg_measurement_point.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_profiling_msg_measurement_point.rs @@ -39,8 +39,7 @@ fn test_auto_check_sbp_profiling_msg_measurement_point() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xCF00, - "Incorrect message type, expected 0xCF00, is {}", - msg_type + "Incorrect message type, expected 0xCF00, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_profiling_msg_profiling_resource_counter.rs b/rust/sbp/tests/integration/auto_check_sbp_profiling_msg_profiling_resource_counter.rs index f4c11038c2..b34f61d8a0 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_profiling_msg_profiling_resource_counter.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_profiling_msg_profiling_resource_counter.rs @@ -47,8 +47,7 @@ fn test_auto_check_sbp_profiling_msg_profiling_resource_counter() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xcf03, - "Incorrect message type, expected 0xcf03, is {}", - msg_type + "Incorrect message type, expected 0xcf03, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_profiling_msg_profiling_system_info.rs b/rust/sbp/tests/integration/auto_check_sbp_profiling_msg_profiling_system_info.rs index 453d66b281..02277596f7 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_profiling_msg_profiling_system_info.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_profiling_msg_profiling_system_info.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_profiling_msg_profiling_system_info() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xcf01, - "Incorrect message type, expected 0xcf01, is {}", - msg_type + "Incorrect message type, expected 0xcf01, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_profiling_msg_profiling_thread_info.rs b/rust/sbp/tests/integration/auto_check_sbp_profiling_msg_profiling_thread_info.rs index cb7247e8b8..7c11ae9864 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_profiling_msg_profiling_thread_info.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_profiling_msg_profiling_thread_info.rs @@ -39,8 +39,7 @@ fn test_auto_check_sbp_profiling_msg_profiling_thread_info() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xcf02, - "Incorrect message type, expected 0xcf02, is {}", - msg_type + "Incorrect message type, expected 0xcf02, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_sbas_msg_sbas_raw.rs b/rust/sbp/tests/integration/auto_check_sbp_sbas_msg_sbas_raw.rs index 9f8ccf7dac..7bf635b335 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_sbas_msg_sbas_raw.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_sbas_msg_sbas_raw.rs @@ -39,8 +39,7 @@ fn test_auto_check_sbp_sbas_msg_sbas_raw() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x7777, - "Incorrect message type, expected 0x7777, is {}", - msg_type + "Incorrect message type, expected 0x7777, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_read_by_index_done.rs b/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_read_by_index_done.rs index e851d31cfe..c2dcdee715 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_read_by_index_done.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_read_by_index_done.rs @@ -35,8 +35,7 @@ fn test_auto_check_sbp_settings_msg_settings_read_by_index_done() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xa6, - "Incorrect message type, expected 0xa6, is {}", - msg_type + "Incorrect message type, expected 0xa6, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_read_by_index_req.rs b/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_read_by_index_req.rs index c37e83b188..c10a9f4790 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_read_by_index_req.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_read_by_index_req.rs @@ -35,8 +35,7 @@ fn test_auto_check_sbp_settings_msg_settings_read_by_index_req() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xa2, - "Incorrect message type, expected 0xa2, is {}", - msg_type + "Incorrect message type, expected 0xa2, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_read_by_index_resp.rs b/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_read_by_index_resp.rs index 14536188ab..b88aba48a0 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_read_by_index_resp.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_read_by_index_resp.rs @@ -41,8 +41,7 @@ fn test_auto_check_sbp_settings_msg_settings_read_by_index_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xa7, - "Incorrect message type, expected 0xa7, is {}", - msg_type + "Incorrect message type, expected 0xa7, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -98,8 +97,7 @@ fn test_auto_check_sbp_settings_msg_settings_read_by_index_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xa7, - "Incorrect message type, expected 0xa7, is {}", - msg_type + "Incorrect message type, expected 0xa7, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -149,8 +147,7 @@ fn test_auto_check_sbp_settings_msg_settings_read_by_index_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xa7, - "Incorrect message type, expected 0xa7, is {}", - msg_type + "Incorrect message type, expected 0xa7, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -199,8 +196,7 @@ fn test_auto_check_sbp_settings_msg_settings_read_by_index_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xa7, - "Incorrect message type, expected 0xa7, is {}", - msg_type + "Incorrect message type, expected 0xa7, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -250,8 +246,7 @@ fn test_auto_check_sbp_settings_msg_settings_read_by_index_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xa7, - "Incorrect message type, expected 0xa7, is {}", - msg_type + "Incorrect message type, expected 0xa7, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_read_req.rs b/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_read_req.rs index 9892bbf5cf..2bd0e0cd91 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_read_req.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_read_req.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_settings_msg_settings_read_req() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xa4, - "Incorrect message type, expected 0xa4, is {}", - msg_type + "Incorrect message type, expected 0xa4, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_read_resp.rs b/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_read_resp.rs index 84a072635b..cd5ee2f1c3 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_read_resp.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_read_resp.rs @@ -40,8 +40,7 @@ fn test_auto_check_sbp_settings_msg_settings_read_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xa5, - "Incorrect message type, expected 0xa5, is {}", - msg_type + "Incorrect message type, expected 0xa5, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_register.rs b/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_register.rs index 3f1846968b..124247d18a 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_register.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_register.rs @@ -40,8 +40,7 @@ fn test_auto_check_sbp_settings_msg_settings_register() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xae, - "Incorrect message type, expected 0xae, is {}", - msg_type + "Incorrect message type, expected 0xae, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_register_resp.rs b/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_register_resp.rs index 6ceaa4b674..7751fd0a74 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_register_resp.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_register_resp.rs @@ -41,8 +41,7 @@ fn test_auto_check_sbp_settings_msg_settings_register_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x1af, - "Incorrect message type, expected 0x1af, is {}", - msg_type + "Incorrect message type, expected 0x1af, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_save.rs b/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_save.rs index e9f0cae369..772f121361 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_save.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_save.rs @@ -35,8 +35,7 @@ fn test_auto_check_sbp_settings_msg_settings_save() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xa1, - "Incorrect message type, expected 0xa1, is {}", - msg_type + "Incorrect message type, expected 0xa1, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_write.rs b/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_write.rs index 4e5f8b4431..8cbfa8f340 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_write.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_write.rs @@ -39,8 +39,7 @@ fn test_auto_check_sbp_settings_msg_settings_write() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xa0, - "Incorrect message type, expected 0xa0, is {}", - msg_type + "Incorrect message type, expected 0xa0, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_write_resp.rs b/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_write_resp.rs index ef37266986..2b4bc06eb0 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_write_resp.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_write_resp.rs @@ -40,8 +40,7 @@ fn test_auto_check_sbp_settings_msg_settings_write_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xaf, - "Incorrect message type, expected 0xaf, is {}", - msg_type + "Incorrect message type, expected 0xaf, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_signing_msg_aes_cmac_signature.rs b/rust/sbp/tests/integration/auto_check_sbp_signing_msg_aes_cmac_signature.rs index 04d79e29f0..5d9708e2bb 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_signing_msg_aes_cmac_signature.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_signing_msg_aes_cmac_signature.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_signing_msg_aes_cmac_signature() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xC10, - "Incorrect message type, expected 0xC10, is {}", - msg_type + "Incorrect message type, expected 0xC10, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_signing_msg_certificate_chain.rs b/rust/sbp/tests/integration/auto_check_sbp_signing_msg_certificate_chain.rs index 85c892ce47..0e5501838b 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_signing_msg_certificate_chain.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_signing_msg_certificate_chain.rs @@ -43,8 +43,7 @@ fn test_auto_check_sbp_signing_msg_certificate_chain() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xC09, - "Incorrect message type, expected 0xC09, is {}", - msg_type + "Incorrect message type, expected 0xC09, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_signing_msg_certificate_chain_dep.rs b/rust/sbp/tests/integration/auto_check_sbp_signing_msg_certificate_chain_dep.rs index 5ca2758942..a624bc05f7 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_signing_msg_certificate_chain_dep.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_signing_msg_certificate_chain_dep.rs @@ -42,8 +42,7 @@ fn test_auto_check_sbp_signing_msg_certificate_chain_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xC05, - "Incorrect message type, expected 0xC05, is {}", - msg_type + "Incorrect message type, expected 0xC05, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ecdsa_certificate.rs b/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ecdsa_certificate.rs index 4dc7428b3c..891d8f0106 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ecdsa_certificate.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ecdsa_certificate.rs @@ -50,8 +50,7 @@ fn test_auto_check_sbp_signing_msg_ecdsa_certificate() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xC04, - "Incorrect message type, expected 0xC04, is {}", - msg_type + "Incorrect message type, expected 0xC04, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ecdsa_signature.rs b/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ecdsa_signature.rs index fd1b528348..b7cb640cde 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ecdsa_signature.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ecdsa_signature.rs @@ -40,8 +40,7 @@ fn test_auto_check_sbp_signing_msg_ecdsa_signature() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xC08, - "Incorrect message type, expected 0xC08, is {}", - msg_type + "Incorrect message type, expected 0xC08, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ecdsa_signature_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ecdsa_signature_dep_a.rs index 2210098dc0..cf8f39cb80 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ecdsa_signature_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ecdsa_signature_dep_a.rs @@ -49,8 +49,7 @@ fn test_auto_check_sbp_signing_msg_ecdsa_signature_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xC06, - "Incorrect message type, expected 0xC06, is {}", - msg_type + "Incorrect message type, expected 0xC06, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ecdsa_signature_dep_b.rs b/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ecdsa_signature_dep_b.rs index 27f04b8279..2d025f82bd 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ecdsa_signature_dep_b.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ecdsa_signature_dep_b.rs @@ -40,8 +40,7 @@ fn test_auto_check_sbp_signing_msg_ecdsa_signature_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xC07, - "Incorrect message type, expected 0xC07, is {}", - msg_type + "Incorrect message type, expected 0xC07, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ed25519_certificate_dep.rs b/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ed25519_certificate_dep.rs index af4a91e561..af549257d2 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ed25519_certificate_dep.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ed25519_certificate_dep.rs @@ -43,8 +43,7 @@ fn test_auto_check_sbp_signing_msg_ed25519_certificate_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xC02, - "Incorrect message type, expected 0xC02, is {}", - msg_type + "Incorrect message type, expected 0xC02, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ed25519_signature_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ed25519_signature_dep_a.rs index 507ae01ca8..faaf92a163 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ed25519_signature_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ed25519_signature_dep_a.rs @@ -45,8 +45,7 @@ fn test_auto_check_sbp_signing_msg_ed25519_signature_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xC01, - "Incorrect message type, expected 0xC01, is {}", - msg_type + "Incorrect message type, expected 0xC01, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ed25519_signature_dep_b.rs b/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ed25519_signature_dep_b.rs index 553d7f0a03..57cef9fdb1 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ed25519_signature_dep_b.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ed25519_signature_dep_b.rs @@ -45,8 +45,7 @@ fn test_auto_check_sbp_signing_msg_ed25519_signature_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xC03, - "Incorrect message type, expected 0xC03, is {}", - msg_type + "Incorrect message type, expected 0xC03, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_solution_meta_msg_soln_meta.rs b/rust/sbp/tests/integration/auto_check_sbp_solution_meta_msg_soln_meta.rs index dc05276802..fcde8e5b1d 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_solution_meta_msg_soln_meta.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_solution_meta_msg_soln_meta.rs @@ -50,8 +50,7 @@ fn test_auto_check_sbp_solution_meta_msg_soln_meta() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xff0e, - "Incorrect message type, expected 0xff0e, is {}", - msg_type + "Incorrect message type, expected 0xff0e, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_solution_meta_msg_soln_meta_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_solution_meta_msg_soln_meta_dep_a.rs index d6674523e4..cf3145a23d 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_solution_meta_msg_soln_meta_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_solution_meta_msg_soln_meta_dep_a.rs @@ -50,8 +50,7 @@ fn test_auto_check_sbp_solution_meta_msg_soln_meta_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xff0f, - "Incorrect message type, expected 0xff0f, is {}", - msg_type + "Incorrect message type, expected 0xff0f, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_code_biases.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_code_biases.rs index 39fa2d5fd8..474906cdc2 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_code_biases.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_code_biases.rs @@ -50,8 +50,7 @@ fn test_auto_check_sbp_ssr_msg_ssr_code_biases() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x5e1, - "Incorrect message type, expected 0x5e1, is {}", - msg_type + "Incorrect message type, expected 0x5e1, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_code_phase_biases_bounds.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_code_phase_biases_bounds.rs index ab0c657f19..a87cc70c4b 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_code_phase_biases_bounds.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_code_phase_biases_bounds.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_ssr_msg_ssr_code_phase_biases_bounds() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 1516, - "Incorrect message type, expected 1516, is {}", - msg_type + "Incorrect message type, expected 1516, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_grid_definition_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_grid_definition_dep_a.rs index aab6ea8e75..a86c4bb4fe 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_grid_definition_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_grid_definition_dep_a.rs @@ -50,8 +50,7 @@ fn test_auto_check_sbp_ssr_msg_ssr_grid_definition_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x5f5, - "Incorrect message type, expected 0x5f5, is {}", - msg_type + "Incorrect message type, expected 0x5f5, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_gridded_correction.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_gridded_correction.rs index 9ae71feee5..14f3ec2cac 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_gridded_correction.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_gridded_correction.rs @@ -50,8 +50,7 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x5fc, - "Incorrect message type, expected 0x5fc, is {}", - msg_type + "Incorrect message type, expected 0x5fc, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_gridded_correction_bounds.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_gridded_correction_bounds.rs index 028a7de015..f0febe1b59 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_gridded_correction_bounds.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_gridded_correction_bounds.rs @@ -39,8 +39,7 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_bounds() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 1534, - "Incorrect message type, expected 1534, is {}", - msg_type + "Incorrect message type, expected 1534, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -222,8 +221,7 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_bounds() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 1534, - "Incorrect message type, expected 1534, is {}", - msg_type + "Incorrect message type, expected 1534, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a.rs index 1b632e349b..735093b5ce 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a.rs @@ -50,8 +50,7 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x5fa, - "Incorrect message type, expected 0x5fa, is {}", - msg_type + "Incorrect message type, expected 0x5fa, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a.rs index 193fc049a5..9ccadbdadf 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a.rs @@ -50,8 +50,7 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x5f0, - "Incorrect message type, expected 0x5f0, is {}", - msg_type + "Incorrect message type, expected 0x5f0, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_orbit_clock.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_orbit_clock.rs index e6d491135a..205a95954b 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_orbit_clock.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_orbit_clock.rs @@ -40,8 +40,7 @@ fn test_auto_check_sbp_ssr_msg_ssr_orbit_clock() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x5dd, - "Incorrect message type, expected 0x5dd, is {}", - msg_type + "Incorrect message type, expected 0x5dd, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_orbit_clock_bounds.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_orbit_clock_bounds.rs index d71be32c45..e6dd77c974 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_orbit_clock_bounds.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_orbit_clock_bounds.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_ssr_msg_ssr_orbit_clock_bounds() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 1502, - "Incorrect message type, expected 1502, is {}", - msg_type + "Incorrect message type, expected 1502, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_orbit_clock_bounds_degradation.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_orbit_clock_bounds_degradation.rs index 01546b6c2b..817b5dae89 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_orbit_clock_bounds_degradation.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_orbit_clock_bounds_degradation.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_ssr_msg_ssr_orbit_clock_bounds_degradation() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 1503, - "Incorrect message type, expected 1503, is {}", - msg_type + "Incorrect message type, expected 1503, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_orbit_clock_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_orbit_clock_dep_a.rs index 65f1bb3d9c..70f10d5050 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_orbit_clock_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_orbit_clock_dep_a.rs @@ -39,8 +39,7 @@ fn test_auto_check_sbp_ssr_msg_ssr_orbit_clock_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x5dc, - "Incorrect message type, expected 0x5dc, is {}", - msg_type + "Incorrect message type, expected 0x5dc, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_phase_biases.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_phase_biases.rs index 943bcf4b83..a7bdab0522 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_phase_biases.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_phase_biases.rs @@ -50,8 +50,7 @@ fn test_auto_check_sbp_ssr_msg_ssr_phase_biases() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x5e6, - "Incorrect message type, expected 0x5e6, is {}", - msg_type + "Incorrect message type, expected 0x5e6, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_satellite_apc.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_satellite_apc.rs index 67efbb051e..a098779305 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_satellite_apc.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_satellite_apc.rs @@ -39,8 +39,7 @@ fn test_auto_check_sbp_ssr_msg_ssr_satellite_apc() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x605, - "Incorrect message type, expected 0x605, is {}", - msg_type + "Incorrect message type, expected 0x605, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_satellite_apc_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_satellite_apc_dep_a.rs index f1d496de4e..d5381f35e8 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_satellite_apc_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_satellite_apc_dep_a.rs @@ -49,8 +49,7 @@ fn test_auto_check_sbp_ssr_msg_ssr_satellite_apc_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x604, - "Incorrect message type, expected 0x604, is {}", - msg_type + "Incorrect message type, expected 0x604, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_stec_correction.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_stec_correction.rs index 756856b633..76b98dab2c 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_stec_correction.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_stec_correction.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_ssr_msg_ssr_stec_correction() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 1533, - "Incorrect message type, expected 1533, is {}", - msg_type + "Incorrect message type, expected 1533, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_stec_correction_dep.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_stec_correction_dep.rs index 3f91b3be74..0f743aaff8 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_stec_correction_dep.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_stec_correction_dep.rs @@ -50,8 +50,7 @@ fn test_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x5fb, - "Incorrect message type, expected 0x5fb, is {}", - msg_type + "Incorrect message type, expected 0x5fb, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a.rs index 01ca8c9db0..8e59563c0d 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a.rs @@ -50,8 +50,7 @@ fn test_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x5eb, - "Incorrect message type, expected 0x5eb, is {}", - msg_type + "Incorrect message type, expected 0x5eb, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_tile_definition.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_tile_definition.rs index aa79dc33cc..06030507bf 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_tile_definition.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_tile_definition.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_ssr_msg_ssr_tile_definition() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x5F8, - "Incorrect message type, expected 0x5F8, is {}", - msg_type + "Incorrect message type, expected 0x5F8, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_tile_definition_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_tile_definition_dep_a.rs index 639b789b45..ed83d5efef 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_tile_definition_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_tile_definition_dep_a.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_ssr_msg_ssr_tile_definition_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x5f6, - "Incorrect message type, expected 0x5f6, is {}", - msg_type + "Incorrect message type, expected 0x5f6, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_tile_definition_dep_b.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_tile_definition_dep_b.rs index f613b8a071..b261872446 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_tile_definition_dep_b.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_tile_definition_dep_b.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_ssr_msg_ssr_tile_definition_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 1527, - "Incorrect message type, expected 1527, is {}", - msg_type + "Incorrect message type, expected 1527, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_system_msg_csac_telemetry.rs b/rust/sbp/tests/integration/auto_check_sbp_system_msg_csac_telemetry.rs index 402fc4c7e5..38f3a8a1f4 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_system_msg_csac_telemetry.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_system_msg_csac_telemetry.rs @@ -37,8 +37,7 @@ fn test_auto_check_sbp_system_msg_csac_telemetry() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xff04, - "Incorrect message type, expected 0xff04, is {}", - msg_type + "Incorrect message type, expected 0xff04, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_system_msg_csac_telemetry_labels.rs b/rust/sbp/tests/integration/auto_check_sbp_system_msg_csac_telemetry_labels.rs index 90d471373a..7eeab3159d 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_system_msg_csac_telemetry_labels.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_system_msg_csac_telemetry_labels.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_system_msg_csac_telemetry_labels() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xff05, - "Incorrect message type, expected 0xff05, is {}", - msg_type + "Incorrect message type, expected 0xff05, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_system_msg_dgnss_status.rs b/rust/sbp/tests/integration/auto_check_sbp_system_msg_dgnss_status.rs index 4d5eae45a8..5c724079de 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_system_msg_dgnss_status.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_system_msg_dgnss_status.rs @@ -37,8 +37,7 @@ fn test_auto_check_sbp_system_msg_dgnss_status() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xff02, - "Incorrect message type, expected 0xff02, is {}", - msg_type + "Incorrect message type, expected 0xff02, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_system_msg_gnss_time_offset.rs b/rust/sbp/tests/integration/auto_check_sbp_system_msg_gnss_time_offset.rs index c98e7cc2c7..ca40830261 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_system_msg_gnss_time_offset.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_system_msg_gnss_time_offset.rs @@ -37,8 +37,7 @@ fn test_auto_check_sbp_system_msg_gnss_time_offset() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xff07, - "Incorrect message type, expected 0xff07, is {}", - msg_type + "Incorrect message type, expected 0xff07, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_system_msg_group_meta.rs b/rust/sbp/tests/integration/auto_check_sbp_system_msg_group_meta.rs index 16eafa7b66..87e33c7b5c 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_system_msg_group_meta.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_system_msg_group_meta.rs @@ -37,8 +37,7 @@ fn test_auto_check_sbp_system_msg_group_meta() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xFF0A, - "Incorrect message type, expected 0xFF0A, is {}", - msg_type + "Incorrect message type, expected 0xFF0A, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -99,8 +98,7 @@ fn test_auto_check_sbp_system_msg_group_meta() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xFF0A, - "Incorrect message type, expected 0xFF0A, is {}", - msg_type + "Incorrect message type, expected 0xFF0A, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_system_msg_heartbeat.rs b/rust/sbp/tests/integration/auto_check_sbp_system_msg_heartbeat.rs index ffe7cf87cf..d09d9de2ce 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_system_msg_heartbeat.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_system_msg_heartbeat.rs @@ -35,8 +35,7 @@ fn test_auto_check_sbp_system_msg_heartbeat() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xffff, - "Incorrect message type, expected 0xffff, is {}", - msg_type + "Incorrect message type, expected 0xffff, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -69,8 +68,7 @@ fn test_auto_check_sbp_system_msg_heartbeat() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xffff, - "Incorrect message type, expected 0xffff, is {}", - msg_type + "Incorrect message type, expected 0xffff, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_system_msg_ins_status.rs b/rust/sbp/tests/integration/auto_check_sbp_system_msg_ins_status.rs index 9c3868fca5..f467f2d682 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_system_msg_ins_status.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_system_msg_ins_status.rs @@ -35,8 +35,7 @@ fn test_auto_check_sbp_system_msg_ins_status() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xff03, - "Incorrect message type, expected 0xff03, is {}", - msg_type + "Incorrect message type, expected 0xff03, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_system_msg_ins_updates.rs b/rust/sbp/tests/integration/auto_check_sbp_system_msg_ins_updates.rs index ee98761595..ca012bb0e5 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_system_msg_ins_updates.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_system_msg_ins_updates.rs @@ -37,8 +37,7 @@ fn test_auto_check_sbp_system_msg_ins_updates() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xff06, - "Incorrect message type, expected 0xff06, is {}", - msg_type + "Incorrect message type, expected 0xff06, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_system_msg_pps_time.rs b/rust/sbp/tests/integration/auto_check_sbp_system_msg_pps_time.rs index 1be02af644..9bfcb2fe71 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_system_msg_pps_time.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_system_msg_pps_time.rs @@ -37,8 +37,7 @@ fn test_auto_check_sbp_system_msg_pps_time() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xff08, - "Incorrect message type, expected 0xff08, is {}", - msg_type + "Incorrect message type, expected 0xff08, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_system_msg_sensor_aid_event.rs b/rust/sbp/tests/integration/auto_check_sbp_system_msg_sensor_aid_event.rs index c98253c9dc..4ccacd7753 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_system_msg_sensor_aid_event.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_system_msg_sensor_aid_event.rs @@ -37,8 +37,7 @@ fn test_auto_check_sbp_system_msg_sensor_aid_event() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xFF09, - "Incorrect message type, expected 0xFF09, is {}", - msg_type + "Incorrect message type, expected 0xFF09, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_system_msg_startup.rs b/rust/sbp/tests/integration/auto_check_sbp_system_msg_startup.rs index 17d8b1bfba..19a5582f4d 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_system_msg_startup.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_system_msg_startup.rs @@ -35,8 +35,7 @@ fn test_auto_check_sbp_system_msg_startup() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xff00, - "Incorrect message type, expected 0xff00, is {}", - msg_type + "Incorrect message type, expected 0xff00, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -79,8 +78,7 @@ fn test_auto_check_sbp_system_msg_startup() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xff00, - "Incorrect message type, expected 0xff00, is {}", - msg_type + "Incorrect message type, expected 0xff00, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_system_msg_status_journal.rs b/rust/sbp/tests/integration/auto_check_sbp_system_msg_status_journal.rs index 1e54f4c1ba..7628446904 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_system_msg_status_journal.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_system_msg_status_journal.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_system_msg_status_journal() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xFFFD, - "Incorrect message type, expected 0xFFFD, is {}", - msg_type + "Incorrect message type, expected 0xFFFD, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -150,8 +149,7 @@ fn test_auto_check_sbp_system_msg_status_journal() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xFFFD, - "Incorrect message type, expected 0xFFFD, is {}", - msg_type + "Incorrect message type, expected 0xFFFD, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_system_msg_status_report.rs b/rust/sbp/tests/integration/auto_check_sbp_system_msg_status_report.rs index b36fe1cd90..e22aa44883 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_system_msg_status_report.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_system_msg_status_report.rs @@ -50,8 +50,7 @@ fn test_auto_check_sbp_system_msg_status_report() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xfffe, - "Incorrect message type, expected 0xfffe, is {}", - msg_type + "Incorrect message type, expected 0xfffe, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_telemetry_msg_tel_sv.rs b/rust/sbp/tests/integration/auto_check_sbp_telemetry_msg_tel_sv.rs index 7e0bb7f619..19741f009f 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_telemetry_msg_tel_sv.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_telemetry_msg_tel_sv.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_telemetry_msg_tel_sv() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x120, - "Incorrect message type, expected 0x120, is {}", - msg_type + "Incorrect message type, expected 0x120, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_measurement_state.rs b/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_measurement_state.rs index 7e90d6abe6..aee131a3bc 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_measurement_state.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_measurement_state.rs @@ -47,8 +47,7 @@ fn test_auto_check_sbp_tracking_msg_measurement_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x61, - "Incorrect message type, expected 0x61, is {}", - msg_type + "Incorrect message type, expected 0x61, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_iq.rs b/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_iq.rs index 8b978df6f2..854fd40d4a 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_iq.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_iq.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_tracking_msg_tracking_iq() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x2d, - "Incorrect message type, expected 0x2d, is {}", - msg_type + "Incorrect message type, expected 0x2d, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_iq_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_iq_dep_a.rs index 5ca43dd88c..5454c43457 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_iq_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_iq_dep_a.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_tracking_msg_tracking_iq_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x1c, - "Incorrect message type, expected 0x1c, is {}", - msg_type + "Incorrect message type, expected 0x1c, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_iq_dep_b.rs b/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_iq_dep_b.rs index 7c70720bdb..535d3497be 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_iq_dep_b.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_iq_dep_b.rs @@ -38,8 +38,7 @@ fn test_auto_check_sbp_tracking_msg_tracking_iq_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x2c, - "Incorrect message type, expected 0x2c, is {}", - msg_type + "Incorrect message type, expected 0x2c, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_state.rs b/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_state.rs index 3a8dd220d8..70a2b6fa3a 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_state.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_state.rs @@ -50,8 +50,7 @@ fn test_auto_check_sbp_tracking_msg_tracking_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x41, - "Incorrect message type, expected 0x41, is {}", - msg_type + "Incorrect message type, expected 0x41, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1345,8 +1344,7 @@ fn test_auto_check_sbp_tracking_msg_tracking_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x13, - "Incorrect message type, expected 0x13, is {}", - msg_type + "Incorrect message type, expected 0x13, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1651,8 +1649,7 @@ fn test_auto_check_sbp_tracking_msg_tracking_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x13, - "Incorrect message type, expected 0x13, is {}", - msg_type + "Incorrect message type, expected 0x13, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1957,8 +1954,7 @@ fn test_auto_check_sbp_tracking_msg_tracking_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x13, - "Incorrect message type, expected 0x13, is {}", - msg_type + "Incorrect message type, expected 0x13, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2263,8 +2259,7 @@ fn test_auto_check_sbp_tracking_msg_tracking_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x13, - "Incorrect message type, expected 0x13, is {}", - msg_type + "Incorrect message type, expected 0x13, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2569,8 +2564,7 @@ fn test_auto_check_sbp_tracking_msg_tracking_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x13, - "Incorrect message type, expected 0x13, is {}", - msg_type + "Incorrect message type, expected 0x13, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_state_dep_b.rs b/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_state_dep_b.rs index 9398680091..4a5739e167 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_state_dep_b.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_state_dep_b.rs @@ -50,8 +50,7 @@ fn test_auto_check_sbp_tracking_msg_tracking_state_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x13, - "Incorrect message type, expected 0x13, is {}", - msg_type + "Incorrect message type, expected 0x13, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_state_detailed_dep.rs b/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_state_detailed_dep.rs index 8e2ea3791e..18f1229626 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_state_detailed_dep.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_state_detailed_dep.rs @@ -39,8 +39,7 @@ fn test_auto_check_sbp_tracking_msg_tracking_state_detailed_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x11, - "Incorrect message type, expected 0x11, is {}", - msg_type + "Incorrect message type, expected 0x11, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -193,8 +192,7 @@ fn test_auto_check_sbp_tracking_msg_tracking_state_detailed_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x11, - "Incorrect message type, expected 0x11, is {}", - msg_type + "Incorrect message type, expected 0x11, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -347,8 +345,7 @@ fn test_auto_check_sbp_tracking_msg_tracking_state_detailed_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x11, - "Incorrect message type, expected 0x11, is {}", - msg_type + "Incorrect message type, expected 0x11, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -501,8 +498,7 @@ fn test_auto_check_sbp_tracking_msg_tracking_state_detailed_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x11, - "Incorrect message type, expected 0x11, is {}", - msg_type + "Incorrect message type, expected 0x11, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -655,8 +651,7 @@ fn test_auto_check_sbp_tracking_msg_tracking_state_detailed_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x11, - "Incorrect message type, expected 0x11, is {}", - msg_type + "Incorrect message type, expected 0x11, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_state_detailed_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_state_detailed_dep_a.rs index 4cbf0c3aa4..ab77f4201d 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_state_detailed_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_state_detailed_dep_a.rs @@ -40,8 +40,7 @@ fn test_auto_check_sbp_tracking_msg_tracking_state_detailed_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x21, - "Incorrect message type, expected 0x21, is {}", - msg_type + "Incorrect message type, expected 0x21, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_tracking_msgtracking_state_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_tracking_msgtracking_state_dep_a.rs index 181ead9570..bdadcdc848 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_tracking_msgtracking_state_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_tracking_msgtracking_state_dep_a.rs @@ -40,8 +40,7 @@ fn test_auto_check_sbp_tracking_msgtracking_state_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x16, - "Incorrect message type, expected 0x16, is {}", - msg_type + "Incorrect message type, expected 0x16, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -239,8 +238,7 @@ fn test_auto_check_sbp_tracking_msgtracking_state_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x16, - "Incorrect message type, expected 0x16, is {}", - msg_type + "Incorrect message type, expected 0x16, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -438,8 +436,7 @@ fn test_auto_check_sbp_tracking_msgtracking_state_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x16, - "Incorrect message type, expected 0x16, is {}", - msg_type + "Incorrect message type, expected 0x16, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -637,8 +634,7 @@ fn test_auto_check_sbp_tracking_msgtracking_state_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x16, - "Incorrect message type, expected 0x16, is {}", - msg_type + "Incorrect message type, expected 0x16, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -832,8 +828,7 @@ fn test_auto_check_sbp_tracking_msgtracking_state_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x16, - "Incorrect message type, expected 0x16, is {}", - msg_type + "Incorrect message type, expected 0x16, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1027,8 +1022,7 @@ fn test_auto_check_sbp_tracking_msgtracking_state_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x16, - "Incorrect message type, expected 0x16, is {}", - msg_type + "Incorrect message type, expected 0x16, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_user_msg_user_data.rs b/rust/sbp/tests/integration/auto_check_sbp_user_msg_user_data.rs index df461a126e..4c894f0739 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_user_msg_user_data.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_user_msg_user_data.rs @@ -50,8 +50,7 @@ fn test_auto_check_sbp_user_msg_user_data() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x800, - "Incorrect message type, expected 0x800, is {}", - msg_type + "Incorrect message type, expected 0x800, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_vehicle_msg_odometry.rs b/rust/sbp/tests/integration/auto_check_sbp_vehicle_msg_odometry.rs index f4ef0f93a3..4bb22a436e 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_vehicle_msg_odometry.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_vehicle_msg_odometry.rs @@ -35,8 +35,7 @@ fn test_auto_check_sbp_vehicle_msg_odometry() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x903, - "Incorrect message type, expected 0x903, is {}", - msg_type + "Incorrect message type, expected 0x903, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_vehicle_msg_wheeltick.rs b/rust/sbp/tests/integration/auto_check_sbp_vehicle_msg_wheeltick.rs index 61df91279f..1451b72b83 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_vehicle_msg_wheeltick.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_vehicle_msg_wheeltick.rs @@ -37,8 +37,7 @@ fn test_auto_check_sbp_vehicle_msg_wheeltick() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x904, - "Incorrect message type, expected 0x904, is {}", - msg_type + "Incorrect message type, expected 0x904, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( From bbaae69e5b28276e8ff830db3ff65aa7dbaecfc7 Mon Sep 17 00:00:00 2001 From: Arnaud Mallen Date: Wed, 9 Jul 2025 17:48:53 +0200 Subject: [PATCH 04/14] Fix again --- .../resources/rust/test/sbp_tests_template.rs | 4 +- ...to_check_sbp_acquisition_msg_acq_result.rs | 6 +- ...ck_sbp_acquisition_msg_acq_result_dep_a.rs | 36 ++++------ ...ck_sbp_acquisition_msg_acq_result_dep_b.rs | 30 +++------ ...ck_sbp_acquisition_msg_acq_result_dep_c.rs | 30 +++------ ...heck_sbp_acquisition_msg_acq_sv_profile.rs | 6 +- ..._sbp_acquisition_msg_acq_sv_profile_dep.rs | 6 +- ...p_bootload_msg_bootloader_handshake_req.rs | 6 +- ..._bootload_msg_bootloader_handshake_resp.rs | 12 ++-- ..._sbp_bootload_msg_bootloader_jumpto_app.rs | 6 +- ...eck_sbp_bootload_msg_nap_device_dna_req.rs | 6 +- ...ck_sbp_bootload_msg_nap_device_dna_resp.rs | 6 +- ...auto_check_sbp_ext_events_msg_ext_event.rs | 6 +- ...check_sbp_file_io_msg_fileio_config_req.rs | 6 +- ...heck_sbp_file_io_msg_fileio_config_resp.rs | 6 +- ...eck_sbp_file_io_msg_fileio_read_dir_req.rs | 6 +- ...ck_sbp_file_io_msg_fileio_read_dir_resp.rs | 6 +- ...o_check_sbp_file_io_msg_fileio_read_req.rs | 6 +- ..._check_sbp_file_io_msg_fileio_read_resp.rs | 6 +- ...uto_check_sbp_file_io_msg_fileio_remove.rs | 6 +- ...check_sbp_file_io_msg_fileio_write_resp.rs | 6 +- .../auto_check_sbp_flash_msg_flash_done.rs | 6 +- .../auto_check_sbp_flash_msg_flash_erase.rs | 6 +- .../auto_check_sbp_flash_msg_flash_program.rs | 6 +- ...auto_check_sbp_flash_msg_flash_read_req.rs | 6 +- ...uto_check_sbp_flash_msg_flash_read_resp.rs | 6 +- ...ck_sbp_flash_msg_m25_flash_write_status.rs | 6 +- ...eck_sbp_flash_msg_stm_flash_lock_sector.rs | 6 +- ...k_sbp_flash_msg_stm_flash_unlock_sector.rs | 6 +- ...o_check_sbp_flash_msg_stm_unique_id_req.rs | 6 +- ..._check_sbp_flash_msg_stm_unique_id_resp.rs | 6 +- .../auto_check_sbp_imu_msg_imu_aux.rs | 6 +- .../auto_check_sbp_imu_msg_imu_comp.rs | 6 +- .../auto_check_sbp_imu_msg_imu_raw.rs | 6 +- ...uto_check_sbp_integrity_msg_acknowledge.rs | 6 +- ...k_sbp_integrity_msg_ssr_flag_high_level.rs | 6 +- ...ty_msg_ssr_flag_iono_grid_point_sat_los.rs | 6 +- ...integrity_msg_ssr_flag_iono_grid_points.rs | 6 +- ...ntegrity_msg_ssr_flag_iono_tile_sat_los.rs | 6 +- ...k_sbp_integrity_msg_ssr_flag_satellites.rs | 6 +- ...ntegrity_msg_ssr_flag_tropo_grid_points.rs | 6 +- ...uto_check_sbp_linux_msg_linux_cpu_state.rs | 6 +- ...eck_sbp_linux_msg_linux_cpu_state_dep_a.rs | 6 +- ...uto_check_sbp_linux_msg_linux_mem_state.rs | 6 +- ...eck_sbp_linux_msg_linux_mem_state_dep_a.rs | 6 +- ...ck_sbp_linux_msg_linux_process_fd_count.rs | 6 +- ..._sbp_linux_msg_linux_process_fd_summary.rs | 6 +- ...p_linux_msg_linux_process_socket_counts.rs | 6 +- ...p_linux_msg_linux_process_socket_queues.rs | 6 +- ..._check_sbp_linux_msg_linux_socket_usage.rs | 6 +- ...uto_check_sbp_linux_msg_linux_sys_state.rs | 6 +- ...eck_sbp_linux_msg_linux_sys_state_dep_a.rs | 6 +- .../auto_check_sbp_logging_msg_fwd.rs | 6 +- .../auto_check_sbp_logging_msg_log.rs | 6 +- .../auto_check_sbp_logging_msg_print_dep.rs | 36 ++++------ .../auto_check_sbp_mag_msg_mag_raw.rs | 6 +- ...heck_sbp_navigation_msg_age_corrections.rs | 6 +- ..._check_sbp_navigation_msg_baseline_ecef.rs | 30 +++------ ..._sbp_navigation_msg_baseline_ecef_dep_a.rs | 66 +++++++------------ ...p_navigation_msg_baseline_heading_dep_a.rs | 6 +- ...o_check_sbp_navigation_msg_baseline_ned.rs | 30 +++------ ...k_sbp_navigation_msg_baseline_ned_dep_a.rs | 66 +++++++------------ .../auto_check_sbp_navigation_msg_dops.rs | 6 +- ...uto_check_sbp_navigation_msg_dops_dep_a.rs | 54 +++++---------- .../auto_check_sbp_navigation_msg_gps_time.rs | 30 +++------ ...check_sbp_navigation_msg_gps_time_dep_a.rs | 66 +++++++------------ ..._check_sbp_navigation_msg_gps_time_gnss.rs | 30 +++------ .../auto_check_sbp_navigation_msg_pos_ecef.rs | 24 +++---- ...o_check_sbp_navigation_msg_pos_ecef_cov.rs | 6 +- ...ck_sbp_navigation_msg_pos_ecef_cov_gnss.rs | 6 +- ...check_sbp_navigation_msg_pos_ecef_dep_a.rs | 66 +++++++------------ ...o_check_sbp_navigation_msg_pos_ecefgnss.rs | 6 +- .../auto_check_sbp_navigation_msg_pos_llh.rs | 30 +++------ ...to_check_sbp_navigation_msg_pos_llh_acc.rs | 6 +- ...to_check_sbp_navigation_msg_pos_llh_cov.rs | 6 +- ...eck_sbp_navigation_msg_pos_llh_cov_gnss.rs | 6 +- ..._check_sbp_navigation_msg_pos_llh_dep_a.rs | 66 +++++++------------ ...o_check_sbp_navigation_msg_pos_llh_gnss.rs | 6 +- ..._check_sbp_navigation_msg_pose_relative.rs | 6 +- ...eck_sbp_navigation_msg_protection_level.rs | 6 +- ...p_navigation_msg_protection_level_dep_a.rs | 6 +- ...bp_navigation_msg_reference_frame_param.rs | 6 +- ...heck_sbp_navigation_msg_utc_leap_second.rs | 6 +- .../auto_check_sbp_navigation_msg_utc_time.rs | 6 +- ..._check_sbp_navigation_msg_utc_time_gnss.rs | 6 +- .../auto_check_sbp_navigation_msg_vel_body.rs | 6 +- .../auto_check_sbp_navigation_msg_vel_cog.rs | 18 ++--- .../auto_check_sbp_navigation_msg_vel_ecef.rs | 30 +++------ ...o_check_sbp_navigation_msg_vel_ecef_cov.rs | 6 +- ...ck_sbp_navigation_msg_vel_ecef_cov_gnss.rs | 6 +- ...check_sbp_navigation_msg_vel_ecef_dep_a.rs | 66 +++++++------------ ..._check_sbp_navigation_msg_vel_ecef_gnss.rs | 6 +- .../auto_check_sbp_navigation_msg_vel_ned.rs | 30 +++------ ...eck_sbp_navigation_msg_vel_ned_cov_gnss.rs | 6 +- ..._check_sbp_navigation_msg_vel_ned_dep_a.rs | 66 +++++++------------ ...o_check_sbp_navigation_msg_vel_ned_gnss.rs | 6 +- ...uto_check_sbp_navigation_msg_vel_nedcov.rs | 6 +- .../auto_check_sbp_ndb_msg_ndb_event.rs | 6 +- ...o_check_sbp_observation_msg_almanac_glo.rs | 6 +- ...eck_sbp_observation_msg_almanac_glo_dep.rs | 6 +- ...o_check_sbp_observation_msg_almanac_gps.rs | 6 +- ...eck_sbp_observation_msg_almanac_gps_dep.rs | 6 +- ...check_sbp_observation_msg_base_pos_ecef.rs | 6 +- ..._check_sbp_observation_msg_base_pos_llh.rs | 6 +- ...check_sbp_observation_msg_ephemeris_bds.rs | 6 +- ...eck_sbp_observation_msg_ephemeris_dep_a.rs | 6 +- ...eck_sbp_observation_msg_ephemeris_dep_b.rs | 36 ++++------ ...eck_sbp_observation_msg_ephemeris_dep_c.rs | 6 +- ...eck_sbp_observation_msg_ephemeris_dep_d.rs | 6 +- ...check_sbp_observation_msg_ephemeris_gal.rs | 6 +- ...sbp_observation_msg_ephemeris_gal_dep_a.rs | 6 +- ...check_sbp_observation_msg_ephemeris_glo.rs | 6 +- ...sbp_observation_msg_ephemeris_glo_dep_a.rs | 6 +- ...sbp_observation_msg_ephemeris_glo_dep_b.rs | 6 +- ...sbp_observation_msg_ephemeris_glo_dep_c.rs | 6 +- ...sbp_observation_msg_ephemeris_glo_dep_d.rs | 6 +- ...check_sbp_observation_msg_ephemeris_gps.rs | 6 +- ...sbp_observation_msg_ephemeris_gps_dep_e.rs | 6 +- ...sbp_observation_msg_ephemeris_gps_dep_f.rs | 6 +- ...heck_sbp_observation_msg_ephemeris_qzss.rs | 6 +- ...heck_sbp_observation_msg_ephemeris_sbas.rs | 6 +- ...bp_observation_msg_ephemeris_sbas_dep_a.rs | 6 +- ...bp_observation_msg_ephemeris_sbas_dep_b.rs | 6 +- ...to_check_sbp_observation_msg_glo_biases.rs | 6 +- ...uto_check_sbp_observation_msg_gnss_capb.rs | 6 +- ...o_check_sbp_observation_msg_group_delay.rs | 6 +- ...k_sbp_observation_msg_group_delay_dep_a.rs | 6 +- ...k_sbp_observation_msg_group_delay_dep_b.rs | 6 +- .../auto_check_sbp_observation_msg_iono.rs | 6 +- .../auto_check_sbp_observation_msg_obs.rs | 12 ++-- ...uto_check_sbp_observation_msg_obs_dep_a.rs | 36 ++++------ ...uto_check_sbp_observation_msg_obs_dep_b.rs | 30 +++------ ...uto_check_sbp_observation_msg_obs_dep_c.rs | 30 +++------ .../auto_check_sbp_observation_msg_osr.rs | 6 +- ...auto_check_sbp_observation_msg_sv_az_el.rs | 6 +- ...bservation_msg_sv_configuration_gps_dep.rs | 6 +- ..._check_sbp_orientation_msg_angular_rate.rs | 6 +- ...ck_sbp_orientation_msg_baseline_heading.rs | 6 +- ..._check_sbp_orientation_msg_orient_euler.rs | 6 +- ...o_check_sbp_orientation_msg_orient_quat.rs | 6 +- .../auto_check_sbp_piksi_msg_almanac.rs | 6 +- ...o_check_sbp_piksi_msg_cell_modem_status.rs | 6 +- ...auto_check_sbp_piksi_msg_command_output.rs | 6 +- .../auto_check_sbp_piksi_msg_command_req.rs | 6 +- .../auto_check_sbp_piksi_msg_command_resp.rs | 6 +- .../auto_check_sbp_piksi_msg_cw_results.rs | 6 +- .../auto_check_sbp_piksi_msg_cw_start.rs | 6 +- ...auto_check_sbp_piksi_msg_device_monitor.rs | 30 +++------ ...auto_check_sbp_piksi_msg_front_end_gain.rs | 6 +- .../auto_check_sbp_piksi_msg_iar_state.rs | 42 ++++-------- .../auto_check_sbp_piksi_msg_init_base_dep.rs | 6 +- ...auto_check_sbp_piksi_msg_mask_satellite.rs | 6 +- ..._check_sbp_piksi_msg_mask_satellite_dep.rs | 6 +- ...k_sbp_piksi_msg_network_bandwidth_usage.rs | 6 +- ...o_check_sbp_piksi_msg_network_state_req.rs | 6 +- ..._check_sbp_piksi_msg_network_state_resp.rs | 6 +- .../auto_check_sbp_piksi_msg_reset.rs | 6 +- .../auto_check_sbp_piksi_msg_reset_dep.rs | 6 +- .../auto_check_sbp_piksi_msg_reset_filters.rs | 6 +- .../auto_check_sbp_piksi_msg_set_time.rs | 6 +- .../auto_check_sbp_piksi_msg_specan.rs | 6 +- .../auto_check_sbp_piksi_msg_specan_dep.rs | 6 +- .../auto_check_sbp_piksi_msg_thread_state.rs | 66 +++++++------------ .../auto_check_sbp_piksi_msg_uart_state.rs | 18 ++--- ...to_check_sbp_piksi_msg_uart_state_dep_a.rs | 36 ++++------ ...eck_sbp_profiling_msg_measurement_point.rs | 6 +- ...rofiling_msg_profiling_resource_counter.rs | 6 +- ...sbp_profiling_msg_profiling_system_info.rs | 6 +- ...sbp_profiling_msg_profiling_thread_info.rs | 6 +- .../auto_check_sbp_sbas_msg_sbas_raw.rs | 6 +- ...ettings_msg_settings_read_by_index_done.rs | 6 +- ...settings_msg_settings_read_by_index_req.rs | 6 +- ...ettings_msg_settings_read_by_index_resp.rs | 30 +++------ ...heck_sbp_settings_msg_settings_read_req.rs | 6 +- ...eck_sbp_settings_msg_settings_read_resp.rs | 6 +- ...heck_sbp_settings_msg_settings_register.rs | 6 +- ...sbp_settings_msg_settings_register_resp.rs | 6 +- ...to_check_sbp_settings_msg_settings_save.rs | 6 +- ...o_check_sbp_settings_msg_settings_write.rs | 6 +- ...ck_sbp_settings_msg_settings_write_resp.rs | 6 +- ...heck_sbp_signing_msg_aes_cmac_signature.rs | 6 +- ...check_sbp_signing_msg_certificate_chain.rs | 6 +- ...k_sbp_signing_msg_certificate_chain_dep.rs | 6 +- ...check_sbp_signing_msg_ecdsa_certificate.rs | 6 +- ...o_check_sbp_signing_msg_ecdsa_signature.rs | 6 +- ...k_sbp_signing_msg_ecdsa_signature_dep_a.rs | 6 +- ...k_sbp_signing_msg_ecdsa_signature_dep_b.rs | 6 +- ...sbp_signing_msg_ed25519_certificate_dep.rs | 6 +- ...sbp_signing_msg_ed25519_signature_dep_a.rs | 6 +- ...sbp_signing_msg_ed25519_signature_dep_b.rs | 6 +- ...o_check_sbp_solution_meta_msg_soln_meta.rs | 6 +- ...k_sbp_solution_meta_msg_soln_meta_dep_a.rs | 6 +- .../auto_check_sbp_ssr_msg_ssr_code_biases.rs | 6 +- ...bp_ssr_msg_ssr_code_phase_biases_bounds.rs | 6 +- ...k_sbp_ssr_msg_ssr_grid_definition_dep_a.rs | 6 +- ...heck_sbp_ssr_msg_ssr_gridded_correction.rs | 6 +- ...p_ssr_msg_ssr_gridded_correction_bounds.rs | 12 ++-- ...bp_ssr_msg_ssr_gridded_correction_dep_a.rs | 6 +- ...msg_ssr_gridded_correction_no_std_dep_a.rs | 6 +- .../auto_check_sbp_ssr_msg_ssr_orbit_clock.rs | 6 +- ...heck_sbp_ssr_msg_ssr_orbit_clock_bounds.rs | 6 +- ..._msg_ssr_orbit_clock_bounds_degradation.rs | 6 +- ...check_sbp_ssr_msg_ssr_orbit_clock_dep_a.rs | 6 +- ...auto_check_sbp_ssr_msg_ssr_phase_biases.rs | 6 +- ...uto_check_sbp_ssr_msg_ssr_satellite_apc.rs | 6 +- ...eck_sbp_ssr_msg_ssr_satellite_apc_dep_a.rs | 6 +- ...o_check_sbp_ssr_msg_ssr_stec_correction.rs | 6 +- ...eck_sbp_ssr_msg_ssr_stec_correction_dep.rs | 6 +- ...k_sbp_ssr_msg_ssr_stec_correction_dep_a.rs | 6 +- ...o_check_sbp_ssr_msg_ssr_tile_definition.rs | 6 +- ...k_sbp_ssr_msg_ssr_tile_definition_dep_a.rs | 6 +- ...k_sbp_ssr_msg_ssr_tile_definition_dep_b.rs | 6 +- ...uto_check_sbp_system_msg_csac_telemetry.rs | 6 +- ...ck_sbp_system_msg_csac_telemetry_labels.rs | 6 +- .../auto_check_sbp_system_msg_dgnss_status.rs | 6 +- ...o_check_sbp_system_msg_gnss_time_offset.rs | 6 +- .../auto_check_sbp_system_msg_group_meta.rs | 12 ++-- .../auto_check_sbp_system_msg_heartbeat.rs | 12 ++-- .../auto_check_sbp_system_msg_ins_status.rs | 6 +- .../auto_check_sbp_system_msg_ins_updates.rs | 6 +- .../auto_check_sbp_system_msg_pps_time.rs | 6 +- ...o_check_sbp_system_msg_sensor_aid_event.rs | 6 +- .../auto_check_sbp_system_msg_startup.rs | 12 ++-- ...uto_check_sbp_system_msg_status_journal.rs | 12 ++-- ...auto_check_sbp_system_msg_status_report.rs | 6 +- .../auto_check_sbp_telemetry_msg_tel_sv.rs | 6 +- ...heck_sbp_tracking_msg_measurement_state.rs | 6 +- ...auto_check_sbp_tracking_msg_tracking_iq.rs | 6 +- ...heck_sbp_tracking_msg_tracking_iq_dep_a.rs | 6 +- ...heck_sbp_tracking_msg_tracking_iq_dep_b.rs | 6 +- ...o_check_sbp_tracking_msg_tracking_state.rs | 36 ++++------ ...k_sbp_tracking_msg_tracking_state_dep_b.rs | 6 +- ...racking_msg_tracking_state_detailed_dep.rs | 30 +++------ ...cking_msg_tracking_state_detailed_dep_a.rs | 6 +- ...ck_sbp_tracking_msgtracking_state_dep_a.rs | 36 ++++------ .../auto_check_sbp_user_msg_user_data.rs | 6 +- .../auto_check_sbp_vehicle_msg_odometry.rs | 6 +- .../auto_check_sbp_vehicle_msg_wheeltick.rs | 6 +- 238 files changed, 874 insertions(+), 1746 deletions(-) diff --git a/generator/sbpg/targets/resources/rust/test/sbp_tests_template.rs b/generator/sbpg/targets/resources/rust/test/sbp_tests_template.rs index 27b1ac9947..0df3e91fa4 100644 --- a/generator/sbpg/targets/resources/rust/test/sbp_tests_template.rs +++ b/generator/sbpg/targets/resources/rust/test/sbp_tests_template.rs @@ -98,7 +98,7 @@ fn test_json2sbp_(((s.suite_name|snake_case)))() match &sbp_msg { sbp::messages::Sbp::(((t.msg.name|lower_acronyms)))(msg) => { let msg_type = msg.message_type().unwrap(); - assert_eq!( msg_type, (((t.msg_type))), "Incorrect message type, expected (((t.msg_type))), is {}", msg_type); + assert_eq!( msg_type, (((t.msg_type))), "Incorrect message type, expected (((t.msg_type))), is {msg_type}"); let sender_id = msg.sender_id().unwrap(); assert_eq!(sender_id, (((t.sbp.sender))), "incorrect sender id, expected (((t.sbp.sender))), is {sender_id}"); ((*- for f in t.fieldskeys *))(((compare_value( (((f))), (((t.fields[f]))) ))))((*- endfor *)) @@ -142,7 +142,7 @@ fn test_sbp2json_(((s.suite_name|snake_case)))() match &sbp_msg { sbp::messages::Sbp::(((t.msg.name|lower_acronyms)))(msg) => { let msg_type = msg.message_type().unwrap(); - assert_eq!( msg_type, (((t.msg_type))), "Incorrect message type, expected (((t.msg_type))), is {}", msg_type); + assert_eq!( msg_type, (((t.msg_type))), "Incorrect message type, expected (((t.msg_type))), is {msg_type}"); let sender_id = msg.sender_id().unwrap(); assert_eq!(sender_id, (((t.sbp.sender))), "incorrect sender id, expected (((t.sbp.sender))), is {sender_id}"); ((*- for f in t.fieldskeys *))(((compare_value( (((f))), (((t.fields[f]))) ))))((*- endfor *)) diff --git a/rust/sbp/tests/integration/auto_check_sbp_acquisition_msg_acq_result.rs b/rust/sbp/tests/integration/auto_check_sbp_acquisition_msg_acq_result.rs index 31f518cb7c..1aae8193ad 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_acquisition_msg_acq_result.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_acquisition_msg_acq_result.rs @@ -114,8 +114,7 @@ fn test_json2sbp_auto_check_sbp_acquisition_msg_acq_result() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x2f, - "Incorrect message type, expected 0x2f, is {}", - msg_type + "Incorrect message type, expected 0x2f, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -199,8 +198,7 @@ fn test_sbp2json_auto_check_sbp_acquisition_msg_acq_result() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x2f, - "Incorrect message type, expected 0x2f, is {}", - msg_type + "Incorrect message type, expected 0x2f, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_acquisition_msg_acq_result_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_acquisition_msg_acq_result_dep_a.rs index 2b48b70775..32f8a95c14 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_acquisition_msg_acq_result_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_acquisition_msg_acq_result_dep_a.rs @@ -359,8 +359,7 @@ fn test_json2sbp_auto_check_sbp_acquisition_msg_acq_result_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x15, - "Incorrect message type, expected 0x15, is {}", - msg_type + "Incorrect message type, expected 0x15, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -417,8 +416,7 @@ fn test_json2sbp_auto_check_sbp_acquisition_msg_acq_result_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x15, - "Incorrect message type, expected 0x15, is {}", - msg_type + "Incorrect message type, expected 0x15, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -475,8 +473,7 @@ fn test_json2sbp_auto_check_sbp_acquisition_msg_acq_result_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x15, - "Incorrect message type, expected 0x15, is {}", - msg_type + "Incorrect message type, expected 0x15, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -533,8 +530,7 @@ fn test_json2sbp_auto_check_sbp_acquisition_msg_acq_result_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x15, - "Incorrect message type, expected 0x15, is {}", - msg_type + "Incorrect message type, expected 0x15, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -591,8 +587,7 @@ fn test_json2sbp_auto_check_sbp_acquisition_msg_acq_result_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x15, - "Incorrect message type, expected 0x15, is {}", - msg_type + "Incorrect message type, expected 0x15, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -649,8 +644,7 @@ fn test_json2sbp_auto_check_sbp_acquisition_msg_acq_result_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x15, - "Incorrect message type, expected 0x15, is {}", - msg_type + "Incorrect message type, expected 0x15, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -728,8 +722,7 @@ fn test_sbp2json_auto_check_sbp_acquisition_msg_acq_result_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x15, - "Incorrect message type, expected 0x15, is {}", - msg_type + "Incorrect message type, expected 0x15, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -798,8 +791,7 @@ fn test_sbp2json_auto_check_sbp_acquisition_msg_acq_result_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x15, - "Incorrect message type, expected 0x15, is {}", - msg_type + "Incorrect message type, expected 0x15, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -868,8 +860,7 @@ fn test_sbp2json_auto_check_sbp_acquisition_msg_acq_result_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x15, - "Incorrect message type, expected 0x15, is {}", - msg_type + "Incorrect message type, expected 0x15, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -939,8 +930,7 @@ fn test_sbp2json_auto_check_sbp_acquisition_msg_acq_result_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x15, - "Incorrect message type, expected 0x15, is {}", - msg_type + "Incorrect message type, expected 0x15, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1009,8 +999,7 @@ fn test_sbp2json_auto_check_sbp_acquisition_msg_acq_result_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x15, - "Incorrect message type, expected 0x15, is {}", - msg_type + "Incorrect message type, expected 0x15, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1079,8 +1068,7 @@ fn test_sbp2json_auto_check_sbp_acquisition_msg_acq_result_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x15, - "Incorrect message type, expected 0x15, is {}", - msg_type + "Incorrect message type, expected 0x15, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_acquisition_msg_acq_result_dep_b.rs b/rust/sbp/tests/integration/auto_check_sbp_acquisition_msg_acq_result_dep_b.rs index 844b46a677..05dc8ac069 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_acquisition_msg_acq_result_dep_b.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_acquisition_msg_acq_result_dep_b.rs @@ -363,8 +363,7 @@ fn test_json2sbp_auto_check_sbp_acquisition_msg_acq_result_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x14, - "Incorrect message type, expected 0x14, is {}", - msg_type + "Incorrect message type, expected 0x14, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -431,8 +430,7 @@ fn test_json2sbp_auto_check_sbp_acquisition_msg_acq_result_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x14, - "Incorrect message type, expected 0x14, is {}", - msg_type + "Incorrect message type, expected 0x14, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -499,8 +497,7 @@ fn test_json2sbp_auto_check_sbp_acquisition_msg_acq_result_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x14, - "Incorrect message type, expected 0x14, is {}", - msg_type + "Incorrect message type, expected 0x14, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -567,8 +564,7 @@ fn test_json2sbp_auto_check_sbp_acquisition_msg_acq_result_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x14, - "Incorrect message type, expected 0x14, is {}", - msg_type + "Incorrect message type, expected 0x14, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -635,8 +631,7 @@ fn test_json2sbp_auto_check_sbp_acquisition_msg_acq_result_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x14, - "Incorrect message type, expected 0x14, is {}", - msg_type + "Incorrect message type, expected 0x14, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -725,8 +720,7 @@ fn test_sbp2json_auto_check_sbp_acquisition_msg_acq_result_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x14, - "Incorrect message type, expected 0x14, is {}", - msg_type + "Incorrect message type, expected 0x14, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -806,8 +800,7 @@ fn test_sbp2json_auto_check_sbp_acquisition_msg_acq_result_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x14, - "Incorrect message type, expected 0x14, is {}", - msg_type + "Incorrect message type, expected 0x14, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -887,8 +880,7 @@ fn test_sbp2json_auto_check_sbp_acquisition_msg_acq_result_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x14, - "Incorrect message type, expected 0x14, is {}", - msg_type + "Incorrect message type, expected 0x14, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -968,8 +960,7 @@ fn test_sbp2json_auto_check_sbp_acquisition_msg_acq_result_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x14, - "Incorrect message type, expected 0x14, is {}", - msg_type + "Incorrect message type, expected 0x14, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1049,8 +1040,7 @@ fn test_sbp2json_auto_check_sbp_acquisition_msg_acq_result_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x14, - "Incorrect message type, expected 0x14, is {}", - msg_type + "Incorrect message type, expected 0x14, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_acquisition_msg_acq_result_dep_c.rs b/rust/sbp/tests/integration/auto_check_sbp_acquisition_msg_acq_result_dep_c.rs index 69ddb3acf3..27f1593f50 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_acquisition_msg_acq_result_dep_c.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_acquisition_msg_acq_result_dep_c.rs @@ -363,8 +363,7 @@ fn test_json2sbp_auto_check_sbp_acquisition_msg_acq_result_dep_c() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x1f, - "Incorrect message type, expected 0x1f, is {}", - msg_type + "Incorrect message type, expected 0x1f, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -431,8 +430,7 @@ fn test_json2sbp_auto_check_sbp_acquisition_msg_acq_result_dep_c() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x1f, - "Incorrect message type, expected 0x1f, is {}", - msg_type + "Incorrect message type, expected 0x1f, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -499,8 +497,7 @@ fn test_json2sbp_auto_check_sbp_acquisition_msg_acq_result_dep_c() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x1f, - "Incorrect message type, expected 0x1f, is {}", - msg_type + "Incorrect message type, expected 0x1f, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -567,8 +564,7 @@ fn test_json2sbp_auto_check_sbp_acquisition_msg_acq_result_dep_c() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x1f, - "Incorrect message type, expected 0x1f, is {}", - msg_type + "Incorrect message type, expected 0x1f, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -635,8 +631,7 @@ fn test_json2sbp_auto_check_sbp_acquisition_msg_acq_result_dep_c() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x1f, - "Incorrect message type, expected 0x1f, is {}", - msg_type + "Incorrect message type, expected 0x1f, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -725,8 +720,7 @@ fn test_sbp2json_auto_check_sbp_acquisition_msg_acq_result_dep_c() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x1f, - "Incorrect message type, expected 0x1f, is {}", - msg_type + "Incorrect message type, expected 0x1f, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -806,8 +800,7 @@ fn test_sbp2json_auto_check_sbp_acquisition_msg_acq_result_dep_c() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x1f, - "Incorrect message type, expected 0x1f, is {}", - msg_type + "Incorrect message type, expected 0x1f, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -887,8 +880,7 @@ fn test_sbp2json_auto_check_sbp_acquisition_msg_acq_result_dep_c() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x1f, - "Incorrect message type, expected 0x1f, is {}", - msg_type + "Incorrect message type, expected 0x1f, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -968,8 +960,7 @@ fn test_sbp2json_auto_check_sbp_acquisition_msg_acq_result_dep_c() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x1f, - "Incorrect message type, expected 0x1f, is {}", - msg_type + "Incorrect message type, expected 0x1f, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1049,8 +1040,7 @@ fn test_sbp2json_auto_check_sbp_acquisition_msg_acq_result_dep_c() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x1f, - "Incorrect message type, expected 0x1f, is {}", - msg_type + "Incorrect message type, expected 0x1f, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_acquisition_msg_acq_sv_profile.rs b/rust/sbp/tests/integration/auto_check_sbp_acquisition_msg_acq_sv_profile.rs index c5b85b5382..a9db0fab82 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_acquisition_msg_acq_sv_profile.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_acquisition_msg_acq_sv_profile.rs @@ -287,8 +287,7 @@ fn test_json2sbp_auto_check_sbp_acquisition_msg_acq_sv_profile() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x2e, - "Incorrect message type, expected 0x2e, is {}", - msg_type + "Incorrect message type, expected 0x2e, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -545,8 +544,7 @@ fn test_sbp2json_auto_check_sbp_acquisition_msg_acq_sv_profile() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x2e, - "Incorrect message type, expected 0x2e, is {}", - msg_type + "Incorrect message type, expected 0x2e, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_acquisition_msg_acq_sv_profile_dep.rs b/rust/sbp/tests/integration/auto_check_sbp_acquisition_msg_acq_sv_profile_dep.rs index 4f32f4cd20..7be80b13db 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_acquisition_msg_acq_sv_profile_dep.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_acquisition_msg_acq_sv_profile_dep.rs @@ -302,8 +302,7 @@ fn test_json2sbp_auto_check_sbp_acquisition_msg_acq_sv_profile_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x1e, - "Incorrect message type, expected 0x1e, is {}", - msg_type + "Incorrect message type, expected 0x1e, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -575,8 +574,7 @@ fn test_sbp2json_auto_check_sbp_acquisition_msg_acq_sv_profile_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x1e, - "Incorrect message type, expected 0x1e, is {}", - msg_type + "Incorrect message type, expected 0x1e, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_bootload_msg_bootloader_handshake_req.rs b/rust/sbp/tests/integration/auto_check_sbp_bootload_msg_bootloader_handshake_req.rs index 28136d3cb0..e4a25b76d9 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_bootload_msg_bootloader_handshake_req.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_bootload_msg_bootloader_handshake_req.rs @@ -88,8 +88,7 @@ fn test_json2sbp_auto_check_sbp_bootload_msg_bootloader_handshake_req() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xb3, - "Incorrect message type, expected 0xb3, is {}", - msg_type + "Incorrect message type, expected 0xb3, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -145,8 +144,7 @@ fn test_sbp2json_auto_check_sbp_bootload_msg_bootloader_handshake_req() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xb3, - "Incorrect message type, expected 0xb3, is {}", - msg_type + "Incorrect message type, expected 0xb3, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_bootload_msg_bootloader_handshake_resp.rs b/rust/sbp/tests/integration/auto_check_sbp_bootload_msg_bootloader_handshake_resp.rs index 68c70c542c..ff762c2c8c 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_bootload_msg_bootloader_handshake_resp.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_bootload_msg_bootloader_handshake_resp.rs @@ -148,8 +148,7 @@ fn test_json2sbp_auto_check_sbp_bootload_msg_bootloader_handshake_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xb4, - "Incorrect message type, expected 0xb4, is {}", - msg_type + "Incorrect message type, expected 0xb4, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -198,8 +197,7 @@ fn test_json2sbp_auto_check_sbp_bootload_msg_bootloader_handshake_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xb0, - "Incorrect message type, expected 0xb0, is {}", - msg_type + "Incorrect message type, expected 0xb0, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -277,8 +275,7 @@ fn test_sbp2json_auto_check_sbp_bootload_msg_bootloader_handshake_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xb4, - "Incorrect message type, expected 0xb4, is {}", - msg_type + "Incorrect message type, expected 0xb4, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -337,8 +334,7 @@ fn test_sbp2json_auto_check_sbp_bootload_msg_bootloader_handshake_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xb0, - "Incorrect message type, expected 0xb0, is {}", - msg_type + "Incorrect message type, expected 0xb0, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_bootload_msg_bootloader_jumpto_app.rs b/rust/sbp/tests/integration/auto_check_sbp_bootload_msg_bootloader_jumpto_app.rs index 07ded7e5f8..ed8e292745 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_bootload_msg_bootloader_jumpto_app.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_bootload_msg_bootloader_jumpto_app.rs @@ -91,8 +91,7 @@ fn test_json2sbp_auto_check_sbp_bootload_msg_bootloader_jumpto_app() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xb1, - "Incorrect message type, expected 0xb1, is {}", - msg_type + "Incorrect message type, expected 0xb1, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -153,8 +152,7 @@ fn test_sbp2json_auto_check_sbp_bootload_msg_bootloader_jumpto_app() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xb1, - "Incorrect message type, expected 0xb1, is {}", - msg_type + "Incorrect message type, expected 0xb1, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_bootload_msg_nap_device_dna_req.rs b/rust/sbp/tests/integration/auto_check_sbp_bootload_msg_nap_device_dna_req.rs index e4b4f4da03..a4a9e42eac 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_bootload_msg_nap_device_dna_req.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_bootload_msg_nap_device_dna_req.rs @@ -88,8 +88,7 @@ fn test_json2sbp_auto_check_sbp_bootload_msg_nap_device_dna_req() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xde, - "Incorrect message type, expected 0xde, is {}", - msg_type + "Incorrect message type, expected 0xde, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -145,8 +144,7 @@ fn test_sbp2json_auto_check_sbp_bootload_msg_nap_device_dna_req() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xde, - "Incorrect message type, expected 0xde, is {}", - msg_type + "Incorrect message type, expected 0xde, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_bootload_msg_nap_device_dna_resp.rs b/rust/sbp/tests/integration/auto_check_sbp_bootload_msg_nap_device_dna_resp.rs index da0862ab96..2c68aa3918 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_bootload_msg_nap_device_dna_resp.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_bootload_msg_nap_device_dna_resp.rs @@ -128,8 +128,7 @@ fn test_json2sbp_auto_check_sbp_bootload_msg_nap_device_dna_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xdd, - "Incorrect message type, expected 0xdd, is {}", - msg_type + "Incorrect message type, expected 0xdd, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -227,8 +226,7 @@ fn test_sbp2json_auto_check_sbp_bootload_msg_nap_device_dna_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xdd, - "Incorrect message type, expected 0xdd, is {}", - msg_type + "Incorrect message type, expected 0xdd, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_ext_events_msg_ext_event.rs b/rust/sbp/tests/integration/auto_check_sbp_ext_events_msg_ext_event.rs index 86ddc50663..ae2465ac14 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ext_events_msg_ext_event.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ext_events_msg_ext_event.rs @@ -113,8 +113,7 @@ fn test_json2sbp_auto_check_sbp_ext_events_msg_ext_event() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x101, - "Incorrect message type, expected 0x101, is {}", - msg_type + "Incorrect message type, expected 0x101, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -197,8 +196,7 @@ fn test_sbp2json_auto_check_sbp_ext_events_msg_ext_event() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x101, - "Incorrect message type, expected 0x101, is {}", - msg_type + "Incorrect message type, expected 0x101, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_config_req.rs b/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_config_req.rs index 8c6bd55062..19b71ac8b3 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_config_req.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_config_req.rs @@ -91,8 +91,7 @@ fn test_json2sbp_auto_check_sbp_file_io_msg_fileio_config_req() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x1001, - "Incorrect message type, expected 0x1001, is {}", - msg_type + "Incorrect message type, expected 0x1001, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -153,8 +152,7 @@ fn test_sbp2json_auto_check_sbp_file_io_msg_fileio_config_req() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x1001, - "Incorrect message type, expected 0x1001, is {}", - msg_type + "Incorrect message type, expected 0x1001, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_config_resp.rs b/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_config_resp.rs index 3bcb075e3e..a0bd6fa951 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_config_resp.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_config_resp.rs @@ -109,8 +109,7 @@ fn test_json2sbp_auto_check_sbp_file_io_msg_fileio_config_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x1002, - "Incorrect message type, expected 0x1002, is {}", - msg_type + "Incorrect message type, expected 0x1002, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -189,8 +188,7 @@ fn test_sbp2json_auto_check_sbp_file_io_msg_fileio_config_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x1002, - "Incorrect message type, expected 0x1002, is {}", - msg_type + "Incorrect message type, expected 0x1002, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_read_dir_req.rs b/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_read_dir_req.rs index 42401fab5a..4e3c63a79f 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_read_dir_req.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_read_dir_req.rs @@ -112,8 +112,7 @@ fn test_json2sbp_auto_check_sbp_file_io_msg_fileio_read_dir_req() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xa9, - "Incorrect message type, expected 0xa9, is {}", - msg_type + "Incorrect message type, expected 0xa9, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -195,8 +194,7 @@ fn test_sbp2json_auto_check_sbp_file_io_msg_fileio_read_dir_req() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xa9, - "Incorrect message type, expected 0xa9, is {}", - msg_type + "Incorrect message type, expected 0xa9, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_read_dir_resp.rs b/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_read_dir_resp.rs index eae1a16a51..78a31a23d1 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_read_dir_resp.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_read_dir_resp.rs @@ -110,8 +110,7 @@ fn test_json2sbp_auto_check_sbp_file_io_msg_fileio_read_dir_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xaa, - "Incorrect message type, expected 0xaa, is {}", - msg_type + "Incorrect message type, expected 0xaa, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -191,8 +190,7 @@ fn test_sbp2json_auto_check_sbp_file_io_msg_fileio_read_dir_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xaa, - "Incorrect message type, expected 0xaa, is {}", - msg_type + "Incorrect message type, expected 0xaa, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_read_req.rs b/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_read_req.rs index 24e3a5fac1..b8b7471af5 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_read_req.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_read_req.rs @@ -117,8 +117,7 @@ fn test_json2sbp_auto_check_sbp_file_io_msg_fileio_read_req() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xa8, - "Incorrect message type, expected 0xa8, is {}", - msg_type + "Incorrect message type, expected 0xa8, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -205,8 +204,7 @@ fn test_sbp2json_auto_check_sbp_file_io_msg_fileio_read_req() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xa8, - "Incorrect message type, expected 0xa8, is {}", - msg_type + "Incorrect message type, expected 0xa8, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_read_resp.rs b/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_read_resp.rs index 42f9296214..ac5474e665 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_read_resp.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_read_resp.rs @@ -1361,8 +1361,7 @@ fn test_json2sbp_auto_check_sbp_file_io_msg_fileio_read_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xa3, - "Incorrect message type, expected 0xa3, is {}", - msg_type + "Incorrect message type, expected 0xa3, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2693,8 +2692,7 @@ fn test_sbp2json_auto_check_sbp_file_io_msg_fileio_read_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xa3, - "Incorrect message type, expected 0xa3, is {}", - msg_type + "Incorrect message type, expected 0xa3, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_remove.rs b/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_remove.rs index a3c9a776e6..4201795d16 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_remove.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_remove.rs @@ -96,8 +96,7 @@ fn test_json2sbp_auto_check_sbp_file_io_msg_fileio_remove() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xac, - "Incorrect message type, expected 0xac, is {}", - msg_type + "Incorrect message type, expected 0xac, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -163,8 +162,7 @@ fn test_sbp2json_auto_check_sbp_file_io_msg_fileio_remove() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xac, - "Incorrect message type, expected 0xac, is {}", - msg_type + "Incorrect message type, expected 0xac, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_write_resp.rs b/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_write_resp.rs index 6476e5d4b6..1938ea2bfe 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_write_resp.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_write_resp.rs @@ -91,8 +91,7 @@ fn test_json2sbp_auto_check_sbp_file_io_msg_fileio_write_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xab, - "Incorrect message type, expected 0xab, is {}", - msg_type + "Incorrect message type, expected 0xab, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -153,8 +152,7 @@ fn test_sbp2json_auto_check_sbp_file_io_msg_fileio_write_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xab, - "Incorrect message type, expected 0xab, is {}", - msg_type + "Incorrect message type, expected 0xab, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_flash_msg_flash_done.rs b/rust/sbp/tests/integration/auto_check_sbp_flash_msg_flash_done.rs index 62e17f8a3c..30f6a91ac2 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_flash_msg_flash_done.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_flash_msg_flash_done.rs @@ -91,8 +91,7 @@ fn test_json2sbp_auto_check_sbp_flash_msg_flash_done() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xe0, - "Incorrect message type, expected 0xe0, is {}", - msg_type + "Incorrect message type, expected 0xe0, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -153,8 +152,7 @@ fn test_sbp2json_auto_check_sbp_flash_msg_flash_done() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xe0, - "Incorrect message type, expected 0xe0, is {}", - msg_type + "Incorrect message type, expected 0xe0, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_flash_msg_flash_erase.rs b/rust/sbp/tests/integration/auto_check_sbp_flash_msg_flash_erase.rs index 16a8117de6..98e235be3c 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_flash_msg_flash_erase.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_flash_msg_flash_erase.rs @@ -96,8 +96,7 @@ fn test_json2sbp_auto_check_sbp_flash_msg_flash_erase() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xe2, - "Incorrect message type, expected 0xe2, is {}", - msg_type + "Incorrect message type, expected 0xe2, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -163,8 +162,7 @@ fn test_sbp2json_auto_check_sbp_flash_msg_flash_erase() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xe2, - "Incorrect message type, expected 0xe2, is {}", - msg_type + "Incorrect message type, expected 0xe2, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_flash_msg_flash_program.rs b/rust/sbp/tests/integration/auto_check_sbp_flash_msg_flash_program.rs index fe1b005a4b..a45c2dd727 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_flash_msg_flash_program.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_flash_msg_flash_program.rs @@ -1376,8 +1376,7 @@ fn test_json2sbp_auto_check_sbp_flash_msg_flash_program() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xe6, - "Incorrect message type, expected 0xe6, is {}", - msg_type + "Incorrect message type, expected 0xe6, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2723,8 +2722,7 @@ fn test_sbp2json_auto_check_sbp_flash_msg_flash_program() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xe6, - "Incorrect message type, expected 0xe6, is {}", - msg_type + "Incorrect message type, expected 0xe6, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_flash_msg_flash_read_req.rs b/rust/sbp/tests/integration/auto_check_sbp_flash_msg_flash_read_req.rs index 8c32526ddd..4c5f723eee 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_flash_msg_flash_read_req.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_flash_msg_flash_read_req.rs @@ -111,8 +111,7 @@ fn test_json2sbp_auto_check_sbp_flash_msg_flash_read_req() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xe7, - "Incorrect message type, expected 0xe7, is {}", - msg_type + "Incorrect message type, expected 0xe7, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -193,8 +192,7 @@ fn test_sbp2json_auto_check_sbp_flash_msg_flash_read_req() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xe7, - "Incorrect message type, expected 0xe7, is {}", - msg_type + "Incorrect message type, expected 0xe7, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_flash_msg_flash_read_resp.rs b/rust/sbp/tests/integration/auto_check_sbp_flash_msg_flash_read_resp.rs index 3e4832ee4c..30bc473898 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_flash_msg_flash_read_resp.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_flash_msg_flash_read_resp.rs @@ -113,8 +113,7 @@ fn test_json2sbp_auto_check_sbp_flash_msg_flash_read_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xe1, - "Incorrect message type, expected 0xe1, is {}", - msg_type + "Incorrect message type, expected 0xe1, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -197,8 +196,7 @@ fn test_sbp2json_auto_check_sbp_flash_msg_flash_read_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xe1, - "Incorrect message type, expected 0xe1, is {}", - msg_type + "Incorrect message type, expected 0xe1, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_flash_msg_m25_flash_write_status.rs b/rust/sbp/tests/integration/auto_check_sbp_flash_msg_m25_flash_write_status.rs index 64a9ef18f5..980b9a3163 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_flash_msg_m25_flash_write_status.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_flash_msg_m25_flash_write_status.rs @@ -91,8 +91,7 @@ fn test_json2sbp_auto_check_sbp_flash_msg_m25_flash_write_status() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xf3, - "Incorrect message type, expected 0xf3, is {}", - msg_type + "Incorrect message type, expected 0xf3, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -153,8 +152,7 @@ fn test_sbp2json_auto_check_sbp_flash_msg_m25_flash_write_status() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xf3, - "Incorrect message type, expected 0xf3, is {}", - msg_type + "Incorrect message type, expected 0xf3, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_flash_msg_stm_flash_lock_sector.rs b/rust/sbp/tests/integration/auto_check_sbp_flash_msg_stm_flash_lock_sector.rs index 9ff1810b97..1ceed3fc1c 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_flash_msg_stm_flash_lock_sector.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_flash_msg_stm_flash_lock_sector.rs @@ -91,8 +91,7 @@ fn test_json2sbp_auto_check_sbp_flash_msg_stm_flash_lock_sector() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xe3, - "Incorrect message type, expected 0xe3, is {}", - msg_type + "Incorrect message type, expected 0xe3, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -153,8 +152,7 @@ fn test_sbp2json_auto_check_sbp_flash_msg_stm_flash_lock_sector() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xe3, - "Incorrect message type, expected 0xe3, is {}", - msg_type + "Incorrect message type, expected 0xe3, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_flash_msg_stm_flash_unlock_sector.rs b/rust/sbp/tests/integration/auto_check_sbp_flash_msg_stm_flash_unlock_sector.rs index 6124311be2..b819f6deab 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_flash_msg_stm_flash_unlock_sector.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_flash_msg_stm_flash_unlock_sector.rs @@ -91,8 +91,7 @@ fn test_json2sbp_auto_check_sbp_flash_msg_stm_flash_unlock_sector() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xe4, - "Incorrect message type, expected 0xe4, is {}", - msg_type + "Incorrect message type, expected 0xe4, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -153,8 +152,7 @@ fn test_sbp2json_auto_check_sbp_flash_msg_stm_flash_unlock_sector() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xe4, - "Incorrect message type, expected 0xe4, is {}", - msg_type + "Incorrect message type, expected 0xe4, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_flash_msg_stm_unique_id_req.rs b/rust/sbp/tests/integration/auto_check_sbp_flash_msg_stm_unique_id_req.rs index 8764a6ab09..b7dc05508d 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_flash_msg_stm_unique_id_req.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_flash_msg_stm_unique_id_req.rs @@ -88,8 +88,7 @@ fn test_json2sbp_auto_check_sbp_flash_msg_stm_unique_id_req() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xe8, - "Incorrect message type, expected 0xe8, is {}", - msg_type + "Incorrect message type, expected 0xe8, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -145,8 +144,7 @@ fn test_sbp2json_auto_check_sbp_flash_msg_stm_unique_id_req() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xe8, - "Incorrect message type, expected 0xe8, is {}", - msg_type + "Incorrect message type, expected 0xe8, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_flash_msg_stm_unique_id_resp.rs b/rust/sbp/tests/integration/auto_check_sbp_flash_msg_stm_unique_id_resp.rs index 9ef139126b..df75b563bf 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_flash_msg_stm_unique_id_resp.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_flash_msg_stm_unique_id_resp.rs @@ -148,8 +148,7 @@ fn test_json2sbp_auto_check_sbp_flash_msg_stm_unique_id_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xe5, - "Incorrect message type, expected 0xe5, is {}", - msg_type + "Incorrect message type, expected 0xe5, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -267,8 +266,7 @@ fn test_sbp2json_auto_check_sbp_flash_msg_stm_unique_id_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xe5, - "Incorrect message type, expected 0xe5, is {}", - msg_type + "Incorrect message type, expected 0xe5, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_imu_msg_imu_aux.rs b/rust/sbp/tests/integration/auto_check_sbp_imu_msg_imu_aux.rs index 7b2d851821..63ac20a892 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_imu_msg_imu_aux.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_imu_msg_imu_aux.rs @@ -101,8 +101,7 @@ fn test_json2sbp_auto_check_sbp_imu_msg_imu_aux() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x901, - "Incorrect message type, expected 0x901, is {}", - msg_type + "Incorrect message type, expected 0x901, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -173,8 +172,7 @@ fn test_sbp2json_auto_check_sbp_imu_msg_imu_aux() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x901, - "Incorrect message type, expected 0x901, is {}", - msg_type + "Incorrect message type, expected 0x901, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_imu_msg_imu_comp.rs b/rust/sbp/tests/integration/auto_check_sbp_imu_msg_imu_comp.rs index 994ce201fa..5721a7145e 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_imu_msg_imu_comp.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_imu_msg_imu_comp.rs @@ -129,8 +129,7 @@ fn test_json2sbp_auto_check_sbp_imu_msg_imu_comp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x905, - "Incorrect message type, expected 0x905, is {}", - msg_type + "Incorrect message type, expected 0x905, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -229,8 +228,7 @@ fn test_sbp2json_auto_check_sbp_imu_msg_imu_comp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x905, - "Incorrect message type, expected 0x905, is {}", - msg_type + "Incorrect message type, expected 0x905, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_imu_msg_imu_raw.rs b/rust/sbp/tests/integration/auto_check_sbp_imu_msg_imu_raw.rs index 43dba908a0..a34c4bca96 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_imu_msg_imu_raw.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_imu_msg_imu_raw.rs @@ -129,8 +129,7 @@ fn test_json2sbp_auto_check_sbp_imu_msg_imu_raw() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x900, - "Incorrect message type, expected 0x900, is {}", - msg_type + "Incorrect message type, expected 0x900, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -229,8 +228,7 @@ fn test_sbp2json_auto_check_sbp_imu_msg_imu_raw() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x900, - "Incorrect message type, expected 0x900, is {}", - msg_type + "Incorrect message type, expected 0x900, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_acknowledge.rs b/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_acknowledge.rs index c0d6907efc..372eb2b172 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_acknowledge.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_acknowledge.rs @@ -118,8 +118,7 @@ fn test_json2sbp_auto_check_sbp_integrity_msg_acknowledge() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xBD2, - "Incorrect message type, expected 0xBD2, is {}", - msg_type + "Incorrect message type, expected 0xBD2, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -207,8 +206,7 @@ fn test_sbp2json_auto_check_sbp_integrity_msg_acknowledge() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xBD2, - "Incorrect message type, expected 0xBD2, is {}", - msg_type + "Incorrect message type, expected 0xBD2, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_ssr_flag_high_level.rs b/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_ssr_flag_high_level.rs index 6c39c4cf5f..cbccb955c2 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_ssr_flag_high_level.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_ssr_flag_high_level.rs @@ -194,8 +194,7 @@ fn test_json2sbp_auto_check_sbp_integrity_msg_ssr_flag_high_level() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 3001, - "Incorrect message type, expected 3001, is {}", - msg_type + "Incorrect message type, expected 3001, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -359,8 +358,7 @@ fn test_sbp2json_auto_check_sbp_integrity_msg_ssr_flag_high_level() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 3001, - "Incorrect message type, expected 3001, is {}", - msg_type + "Incorrect message type, expected 3001, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_ssr_flag_iono_grid_point_sat_los.rs b/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_ssr_flag_iono_grid_point_sat_los.rs index b2033165eb..7f6a2db921 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_ssr_flag_iono_grid_point_sat_los.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_ssr_flag_iono_grid_point_sat_los.rs @@ -159,8 +159,7 @@ fn test_json2sbp_auto_check_sbp_integrity_msg_ssr_flag_iono_grid_point_sat_los() let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 3025, - "Incorrect message type, expected 3025, is {}", - msg_type + "Incorrect message type, expected 3025, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -289,8 +288,7 @@ fn test_sbp2json_auto_check_sbp_integrity_msg_ssr_flag_iono_grid_point_sat_los() let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 3025, - "Incorrect message type, expected 3025, is {}", - msg_type + "Incorrect message type, expected 3025, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_ssr_flag_iono_grid_points.rs b/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_ssr_flag_iono_grid_points.rs index a025e613b7..d7856a63b4 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_ssr_flag_iono_grid_points.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_ssr_flag_iono_grid_points.rs @@ -149,8 +149,7 @@ fn test_json2sbp_auto_check_sbp_integrity_msg_ssr_flag_iono_grid_points() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 3015, - "Incorrect message type, expected 3015, is {}", - msg_type + "Incorrect message type, expected 3015, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -269,8 +268,7 @@ fn test_sbp2json_auto_check_sbp_integrity_msg_ssr_flag_iono_grid_points() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 3015, - "Incorrect message type, expected 3015, is {}", - msg_type + "Incorrect message type, expected 3015, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_ssr_flag_iono_tile_sat_los.rs b/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_ssr_flag_iono_tile_sat_los.rs index 157aff3be3..0c228e7bd7 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_ssr_flag_iono_tile_sat_los.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_ssr_flag_iono_tile_sat_los.rs @@ -154,8 +154,7 @@ fn test_json2sbp_auto_check_sbp_integrity_msg_ssr_flag_iono_tile_sat_los() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 3021, - "Incorrect message type, expected 3021, is {}", - msg_type + "Incorrect message type, expected 3021, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -279,8 +278,7 @@ fn test_sbp2json_auto_check_sbp_integrity_msg_ssr_flag_iono_tile_sat_los() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 3021, - "Incorrect message type, expected 3021, is {}", - msg_type + "Incorrect message type, expected 3021, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_ssr_flag_satellites.rs b/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_ssr_flag_satellites.rs index ec9b5c6f30..3a34c5e67f 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_ssr_flag_satellites.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_ssr_flag_satellites.rs @@ -143,8 +143,7 @@ fn test_json2sbp_auto_check_sbp_integrity_msg_ssr_flag_satellites() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 3005, - "Incorrect message type, expected 3005, is {}", - msg_type + "Incorrect message type, expected 3005, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -257,8 +256,7 @@ fn test_sbp2json_auto_check_sbp_integrity_msg_ssr_flag_satellites() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 3005, - "Incorrect message type, expected 3005, is {}", - msg_type + "Incorrect message type, expected 3005, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_ssr_flag_tropo_grid_points.rs b/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_ssr_flag_tropo_grid_points.rs index 59c4e63aab..e813a12b86 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_ssr_flag_tropo_grid_points.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_integrity_msg_ssr_flag_tropo_grid_points.rs @@ -149,8 +149,7 @@ fn test_json2sbp_auto_check_sbp_integrity_msg_ssr_flag_tropo_grid_points() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 3011, - "Incorrect message type, expected 3011, is {}", - msg_type + "Incorrect message type, expected 3011, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -269,8 +268,7 @@ fn test_sbp2json_auto_check_sbp_integrity_msg_ssr_flag_tropo_grid_points() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 3011, - "Incorrect message type, expected 3011, is {}", - msg_type + "Incorrect message type, expected 3011, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_cpu_state.rs b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_cpu_state.rs index 7bcd8c1d2d..a02dd400a4 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_cpu_state.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_cpu_state.rs @@ -139,8 +139,7 @@ fn test_json2sbp_auto_check_sbp_linux_msg_linux_cpu_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x7f08, - "Incorrect message type, expected 0x7f08, is {}", - msg_type + "Incorrect message type, expected 0x7f08, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -249,8 +248,7 @@ fn test_sbp2json_auto_check_sbp_linux_msg_linux_cpu_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x7f08, - "Incorrect message type, expected 0x7f08, is {}", - msg_type + "Incorrect message type, expected 0x7f08, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_cpu_state_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_cpu_state_dep_a.rs index 70218358eb..840a13cc86 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_cpu_state_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_cpu_state_dep_a.rs @@ -128,8 +128,7 @@ fn test_json2sbp_auto_check_sbp_linux_msg_linux_cpu_state_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x7f00, - "Incorrect message type, expected 0x7f00, is {}", - msg_type + "Incorrect message type, expected 0x7f00, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -227,8 +226,7 @@ fn test_sbp2json_auto_check_sbp_linux_msg_linux_cpu_state_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x7f00, - "Incorrect message type, expected 0x7f00, is {}", - msg_type + "Incorrect message type, expected 0x7f00, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_mem_state.rs b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_mem_state.rs index 95f828347d..4f675b96f7 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_mem_state.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_mem_state.rs @@ -138,8 +138,7 @@ fn test_json2sbp_auto_check_sbp_linux_msg_linux_mem_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x7f09, - "Incorrect message type, expected 0x7f09, is {}", - msg_type + "Incorrect message type, expected 0x7f09, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -247,8 +246,7 @@ fn test_sbp2json_auto_check_sbp_linux_msg_linux_mem_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x7f09, - "Incorrect message type, expected 0x7f09, is {}", - msg_type + "Incorrect message type, expected 0x7f09, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_mem_state_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_mem_state_dep_a.rs index cbc90bec1f..4d2af66c44 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_mem_state_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_mem_state_dep_a.rs @@ -128,8 +128,7 @@ fn test_json2sbp_auto_check_sbp_linux_msg_linux_mem_state_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x7f01, - "Incorrect message type, expected 0x7f01, is {}", - msg_type + "Incorrect message type, expected 0x7f01, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -227,8 +226,7 @@ fn test_sbp2json_auto_check_sbp_linux_msg_linux_mem_state_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x7f01, - "Incorrect message type, expected 0x7f01, is {}", - msg_type + "Incorrect message type, expected 0x7f01, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_process_fd_count.rs b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_process_fd_count.rs index b520902c8a..b8bb44c742 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_process_fd_count.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_process_fd_count.rs @@ -121,8 +121,7 @@ fn test_json2sbp_auto_check_sbp_linux_msg_linux_process_fd_count() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x7f06, - "Incorrect message type, expected 0x7f06, is {}", - msg_type + "Incorrect message type, expected 0x7f06, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -213,8 +212,7 @@ fn test_sbp2json_auto_check_sbp_linux_msg_linux_process_fd_count() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x7f06, - "Incorrect message type, expected 0x7f06, is {}", - msg_type + "Incorrect message type, expected 0x7f06, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_process_fd_summary.rs b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_process_fd_summary.rs index 1563efe706..5cf06f133a 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_process_fd_summary.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_process_fd_summary.rs @@ -107,8 +107,7 @@ fn test_json2sbp_auto_check_sbp_linux_msg_linux_process_fd_summary() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x7f07, - "Incorrect message type, expected 0x7f07, is {}", - msg_type + "Incorrect message type, expected 0x7f07, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -185,8 +184,7 @@ fn test_sbp2json_auto_check_sbp_linux_msg_linux_process_fd_summary() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x7f07, - "Incorrect message type, expected 0x7f07, is {}", - msg_type + "Incorrect message type, expected 0x7f07, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_process_socket_counts.rs b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_process_socket_counts.rs index 10d1449871..ad7b043e69 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_process_socket_counts.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_process_socket_counts.rs @@ -131,8 +131,7 @@ fn test_json2sbp_auto_check_sbp_linux_msg_linux_process_socket_counts() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x7f03, - "Incorrect message type, expected 0x7f03, is {}", - msg_type + "Incorrect message type, expected 0x7f03, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -233,8 +232,7 @@ fn test_sbp2json_auto_check_sbp_linux_msg_linux_process_socket_counts() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x7f03, - "Incorrect message type, expected 0x7f03, is {}", - msg_type + "Incorrect message type, expected 0x7f03, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_process_socket_queues.rs b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_process_socket_queues.rs index fec8411992..d4a40af88f 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_process_socket_queues.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_process_socket_queues.rs @@ -153,8 +153,7 @@ fn test_json2sbp_auto_check_sbp_linux_msg_linux_process_socket_queues() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x7f04, - "Incorrect message type, expected 0x7f04, is {}", - msg_type + "Incorrect message type, expected 0x7f04, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -277,8 +276,7 @@ fn test_sbp2json_auto_check_sbp_linux_msg_linux_process_socket_queues() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x7f04, - "Incorrect message type, expected 0x7f04, is {}", - msg_type + "Incorrect message type, expected 0x7f04, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_socket_usage.rs b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_socket_usage.rs index 620bbceaf5..bf7802b1ab 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_socket_usage.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_socket_usage.rs @@ -262,8 +262,7 @@ fn test_json2sbp_auto_check_sbp_linux_msg_linux_socket_usage() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x7f05, - "Incorrect message type, expected 0x7f05, is {}", - msg_type + "Incorrect message type, expected 0x7f05, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -495,8 +494,7 @@ fn test_sbp2json_auto_check_sbp_linux_msg_linux_socket_usage() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x7f05, - "Incorrect message type, expected 0x7f05, is {}", - msg_type + "Incorrect message type, expected 0x7f05, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_sys_state.rs b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_sys_state.rs index 9373414efa..e964271a87 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_sys_state.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_sys_state.rs @@ -129,8 +129,7 @@ fn test_json2sbp_auto_check_sbp_linux_msg_linux_sys_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x7f0a, - "Incorrect message type, expected 0x7f0a, is {}", - msg_type + "Incorrect message type, expected 0x7f0a, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -229,8 +228,7 @@ fn test_sbp2json_auto_check_sbp_linux_msg_linux_sys_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x7f0a, - "Incorrect message type, expected 0x7f0a, is {}", - msg_type + "Incorrect message type, expected 0x7f0a, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_sys_state_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_sys_state_dep_a.rs index d110d3c8b8..a649d85cfe 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_sys_state_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_sys_state_dep_a.rs @@ -118,8 +118,7 @@ fn test_json2sbp_auto_check_sbp_linux_msg_linux_sys_state_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x7f02, - "Incorrect message type, expected 0x7f02, is {}", - msg_type + "Incorrect message type, expected 0x7f02, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -207,8 +206,7 @@ fn test_sbp2json_auto_check_sbp_linux_msg_linux_sys_state_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x7f02, - "Incorrect message type, expected 0x7f02, is {}", - msg_type + "Incorrect message type, expected 0x7f02, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_logging_msg_fwd.rs b/rust/sbp/tests/integration/auto_check_sbp_logging_msg_fwd.rs index ee0cdf5d40..156feec8a1 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_logging_msg_fwd.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_logging_msg_fwd.rs @@ -179,8 +179,7 @@ fn test_json2sbp_auto_check_sbp_logging_msg_fwd() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x402, - "Incorrect message type, expected 0x402, is {}", - msg_type + "Incorrect message type, expected 0x402, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -329,8 +328,7 @@ fn test_sbp2json_auto_check_sbp_logging_msg_fwd() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x402, - "Incorrect message type, expected 0x402, is {}", - msg_type + "Incorrect message type, expected 0x402, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_logging_msg_log.rs b/rust/sbp/tests/integration/auto_check_sbp_logging_msg_log.rs index 2dc65ea592..59bff111e4 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_logging_msg_log.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_logging_msg_log.rs @@ -110,8 +110,7 @@ fn test_json2sbp_auto_check_sbp_logging_msg_log() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x0401, - "Incorrect message type, expected 0x0401, is {}", - msg_type + "Incorrect message type, expected 0x0401, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -191,8 +190,7 @@ fn test_sbp2json_auto_check_sbp_logging_msg_log() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x0401, - "Incorrect message type, expected 0x0401, is {}", - msg_type + "Incorrect message type, expected 0x0401, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_logging_msg_print_dep.rs b/rust/sbp/tests/integration/auto_check_sbp_logging_msg_print_dep.rs index cc7d646eb5..2f832c97c2 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_logging_msg_print_dep.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_logging_msg_print_dep.rs @@ -340,8 +340,7 @@ fn test_json2sbp_auto_check_sbp_logging_msg_print_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x10, - "Incorrect message type, expected 0x10, is {}", - msg_type + "Incorrect message type, expected 0x10, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -393,8 +392,7 @@ fn test_json2sbp_auto_check_sbp_logging_msg_print_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x10, - "Incorrect message type, expected 0x10, is {}", - msg_type + "Incorrect message type, expected 0x10, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -446,8 +444,7 @@ fn test_json2sbp_auto_check_sbp_logging_msg_print_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x10, - "Incorrect message type, expected 0x10, is {}", - msg_type + "Incorrect message type, expected 0x10, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -499,8 +496,7 @@ fn test_json2sbp_auto_check_sbp_logging_msg_print_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x10, - "Incorrect message type, expected 0x10, is {}", - msg_type + "Incorrect message type, expected 0x10, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -552,8 +548,7 @@ fn test_json2sbp_auto_check_sbp_logging_msg_print_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x10, - "Incorrect message type, expected 0x10, is {}", - msg_type + "Incorrect message type, expected 0x10, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -605,8 +600,7 @@ fn test_json2sbp_auto_check_sbp_logging_msg_print_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x10, - "Incorrect message type, expected 0x10, is {}", - msg_type + "Incorrect message type, expected 0x10, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -681,8 +675,7 @@ fn test_sbp2json_auto_check_sbp_logging_msg_print_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x10, - "Incorrect message type, expected 0x10, is {}", - msg_type + "Incorrect message type, expected 0x10, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -748,8 +741,7 @@ fn test_sbp2json_auto_check_sbp_logging_msg_print_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x10, - "Incorrect message type, expected 0x10, is {}", - msg_type + "Incorrect message type, expected 0x10, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -815,8 +807,7 @@ fn test_sbp2json_auto_check_sbp_logging_msg_print_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x10, - "Incorrect message type, expected 0x10, is {}", - msg_type + "Incorrect message type, expected 0x10, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -882,8 +873,7 @@ fn test_sbp2json_auto_check_sbp_logging_msg_print_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x10, - "Incorrect message type, expected 0x10, is {}", - msg_type + "Incorrect message type, expected 0x10, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -949,8 +939,7 @@ fn test_sbp2json_auto_check_sbp_logging_msg_print_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x10, - "Incorrect message type, expected 0x10, is {}", - msg_type + "Incorrect message type, expected 0x10, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1016,8 +1005,7 @@ fn test_sbp2json_auto_check_sbp_logging_msg_print_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x10, - "Incorrect message type, expected 0x10, is {}", - msg_type + "Incorrect message type, expected 0x10, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_mag_msg_mag_raw.rs b/rust/sbp/tests/integration/auto_check_sbp_mag_msg_mag_raw.rs index fadc7807ab..18318e52f0 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_mag_msg_mag_raw.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_mag_msg_mag_raw.rs @@ -113,8 +113,7 @@ fn test_json2sbp_auto_check_sbp_mag_msg_mag_raw() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x902, - "Incorrect message type, expected 0x902, is {}", - msg_type + "Incorrect message type, expected 0x902, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -197,8 +196,7 @@ fn test_sbp2json_auto_check_sbp_mag_msg_mag_raw() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x902, - "Incorrect message type, expected 0x902, is {}", - msg_type + "Incorrect message type, expected 0x902, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_age_corrections.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_age_corrections.rs index 9c64caa419..4967e3ab25 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_age_corrections.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_age_corrections.rs @@ -96,8 +96,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_age_corrections() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x210, - "Incorrect message type, expected 0x210, is {}", - msg_type + "Incorrect message type, expected 0x210, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -163,8 +162,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_age_corrections() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x210, - "Incorrect message type, expected 0x210, is {}", - msg_type + "Incorrect message type, expected 0x210, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_baseline_ecef.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_baseline_ecef.rs index 73d2b0a729..f444823803 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_baseline_ecef.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_baseline_ecef.rs @@ -388,8 +388,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_baseline_ecef() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20b, - "Incorrect message type, expected 0x20b, is {}", - msg_type + "Incorrect message type, expected 0x20b, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -461,8 +460,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_baseline_ecef() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20b, - "Incorrect message type, expected 0x20b, is {}", - msg_type + "Incorrect message type, expected 0x20b, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -534,8 +532,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_baseline_ecef() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20b, - "Incorrect message type, expected 0x20b, is {}", - msg_type + "Incorrect message type, expected 0x20b, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -607,8 +604,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_baseline_ecef() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20b, - "Incorrect message type, expected 0x20b, is {}", - msg_type + "Incorrect message type, expected 0x20b, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -680,8 +676,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_baseline_ecef() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20b, - "Incorrect message type, expected 0x20b, is {}", - msg_type + "Incorrect message type, expected 0x20b, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -775,8 +770,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_baseline_ecef() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20b, - "Incorrect message type, expected 0x20b, is {}", - msg_type + "Incorrect message type, expected 0x20b, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -861,8 +855,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_baseline_ecef() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20b, - "Incorrect message type, expected 0x20b, is {}", - msg_type + "Incorrect message type, expected 0x20b, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -947,8 +940,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_baseline_ecef() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20b, - "Incorrect message type, expected 0x20b, is {}", - msg_type + "Incorrect message type, expected 0x20b, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1033,8 +1025,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_baseline_ecef() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20b, - "Incorrect message type, expected 0x20b, is {}", - msg_type + "Incorrect message type, expected 0x20b, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1119,8 +1110,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_baseline_ecef() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20b, - "Incorrect message type, expected 0x20b, is {}", - msg_type + "Incorrect message type, expected 0x20b, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_baseline_ecef_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_baseline_ecef_dep_a.rs index 768bc99187..80314ae5a1 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_baseline_ecef_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_baseline_ecef_dep_a.rs @@ -784,8 +784,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_baseline_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x202, - "Incorrect message type, expected 0x202, is {}", - msg_type + "Incorrect message type, expected 0x202, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -857,8 +856,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_baseline_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x202, - "Incorrect message type, expected 0x202, is {}", - msg_type + "Incorrect message type, expected 0x202, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -930,8 +928,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_baseline_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x202, - "Incorrect message type, expected 0x202, is {}", - msg_type + "Incorrect message type, expected 0x202, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1003,8 +1000,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_baseline_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x202, - "Incorrect message type, expected 0x202, is {}", - msg_type + "Incorrect message type, expected 0x202, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1076,8 +1072,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_baseline_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x202, - "Incorrect message type, expected 0x202, is {}", - msg_type + "Incorrect message type, expected 0x202, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1149,8 +1144,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_baseline_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x202, - "Incorrect message type, expected 0x202, is {}", - msg_type + "Incorrect message type, expected 0x202, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1222,8 +1216,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_baseline_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x202, - "Incorrect message type, expected 0x202, is {}", - msg_type + "Incorrect message type, expected 0x202, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1295,8 +1288,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_baseline_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x202, - "Incorrect message type, expected 0x202, is {}", - msg_type + "Incorrect message type, expected 0x202, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1368,8 +1360,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_baseline_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x202, - "Incorrect message type, expected 0x202, is {}", - msg_type + "Incorrect message type, expected 0x202, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1441,8 +1432,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_baseline_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x202, - "Incorrect message type, expected 0x202, is {}", - msg_type + "Incorrect message type, expected 0x202, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1514,8 +1504,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_baseline_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x202, - "Incorrect message type, expected 0x202, is {}", - msg_type + "Incorrect message type, expected 0x202, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1609,8 +1598,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_baseline_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x202, - "Incorrect message type, expected 0x202, is {}", - msg_type + "Incorrect message type, expected 0x202, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1695,8 +1683,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_baseline_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x202, - "Incorrect message type, expected 0x202, is {}", - msg_type + "Incorrect message type, expected 0x202, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1781,8 +1768,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_baseline_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x202, - "Incorrect message type, expected 0x202, is {}", - msg_type + "Incorrect message type, expected 0x202, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1867,8 +1853,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_baseline_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x202, - "Incorrect message type, expected 0x202, is {}", - msg_type + "Incorrect message type, expected 0x202, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1953,8 +1938,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_baseline_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x202, - "Incorrect message type, expected 0x202, is {}", - msg_type + "Incorrect message type, expected 0x202, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2039,8 +2023,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_baseline_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x202, - "Incorrect message type, expected 0x202, is {}", - msg_type + "Incorrect message type, expected 0x202, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2125,8 +2108,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_baseline_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x202, - "Incorrect message type, expected 0x202, is {}", - msg_type + "Incorrect message type, expected 0x202, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2211,8 +2193,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_baseline_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x202, - "Incorrect message type, expected 0x202, is {}", - msg_type + "Incorrect message type, expected 0x202, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2297,8 +2278,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_baseline_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x202, - "Incorrect message type, expected 0x202, is {}", - msg_type + "Incorrect message type, expected 0x202, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2383,8 +2363,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_baseline_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x202, - "Incorrect message type, expected 0x202, is {}", - msg_type + "Incorrect message type, expected 0x202, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2469,8 +2448,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_baseline_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x202, - "Incorrect message type, expected 0x202, is {}", - msg_type + "Incorrect message type, expected 0x202, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_baseline_heading_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_baseline_heading_dep_a.rs index 90d24970d1..27de2478fd 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_baseline_heading_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_baseline_heading_dep_a.rs @@ -108,8 +108,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_baseline_heading_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x207, - "Incorrect message type, expected 0x207, is {}", - msg_type + "Incorrect message type, expected 0x207, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -187,8 +186,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_baseline_heading_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x207, - "Incorrect message type, expected 0x207, is {}", - msg_type + "Incorrect message type, expected 0x207, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_baseline_ned.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_baseline_ned.rs index 85a4854d20..01b95e3172 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_baseline_ned.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_baseline_ned.rs @@ -413,8 +413,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_baseline_ned() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20c, - "Incorrect message type, expected 0x20c, is {}", - msg_type + "Incorrect message type, expected 0x20c, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -491,8 +490,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_baseline_ned() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20c, - "Incorrect message type, expected 0x20c, is {}", - msg_type + "Incorrect message type, expected 0x20c, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -569,8 +567,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_baseline_ned() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20c, - "Incorrect message type, expected 0x20c, is {}", - msg_type + "Incorrect message type, expected 0x20c, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -647,8 +644,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_baseline_ned() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20c, - "Incorrect message type, expected 0x20c, is {}", - msg_type + "Incorrect message type, expected 0x20c, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -725,8 +721,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_baseline_ned() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20c, - "Incorrect message type, expected 0x20c, is {}", - msg_type + "Incorrect message type, expected 0x20c, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -825,8 +820,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_baseline_ned() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20c, - "Incorrect message type, expected 0x20c, is {}", - msg_type + "Incorrect message type, expected 0x20c, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -916,8 +910,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_baseline_ned() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20c, - "Incorrect message type, expected 0x20c, is {}", - msg_type + "Incorrect message type, expected 0x20c, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1007,8 +1000,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_baseline_ned() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20c, - "Incorrect message type, expected 0x20c, is {}", - msg_type + "Incorrect message type, expected 0x20c, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1098,8 +1090,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_baseline_ned() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20c, - "Incorrect message type, expected 0x20c, is {}", - msg_type + "Incorrect message type, expected 0x20c, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1189,8 +1180,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_baseline_ned() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20c, - "Incorrect message type, expected 0x20c, is {}", - msg_type + "Incorrect message type, expected 0x20c, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_baseline_ned_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_baseline_ned_dep_a.rs index c11f1c8074..6aaf6d4b40 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_baseline_ned_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_baseline_ned_dep_a.rs @@ -819,8 +819,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_baseline_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x203, - "Incorrect message type, expected 0x203, is {}", - msg_type + "Incorrect message type, expected 0x203, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -893,8 +892,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_baseline_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x203, - "Incorrect message type, expected 0x203, is {}", - msg_type + "Incorrect message type, expected 0x203, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -967,8 +965,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_baseline_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x203, - "Incorrect message type, expected 0x203, is {}", - msg_type + "Incorrect message type, expected 0x203, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1041,8 +1038,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_baseline_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x203, - "Incorrect message type, expected 0x203, is {}", - msg_type + "Incorrect message type, expected 0x203, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1115,8 +1111,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_baseline_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x203, - "Incorrect message type, expected 0x203, is {}", - msg_type + "Incorrect message type, expected 0x203, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1189,8 +1184,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_baseline_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x203, - "Incorrect message type, expected 0x203, is {}", - msg_type + "Incorrect message type, expected 0x203, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1267,8 +1261,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_baseline_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x203, - "Incorrect message type, expected 0x203, is {}", - msg_type + "Incorrect message type, expected 0x203, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1345,8 +1338,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_baseline_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x203, - "Incorrect message type, expected 0x203, is {}", - msg_type + "Incorrect message type, expected 0x203, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1423,8 +1415,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_baseline_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x203, - "Incorrect message type, expected 0x203, is {}", - msg_type + "Incorrect message type, expected 0x203, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1501,8 +1492,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_baseline_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x203, - "Incorrect message type, expected 0x203, is {}", - msg_type + "Incorrect message type, expected 0x203, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1579,8 +1569,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_baseline_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x203, - "Incorrect message type, expected 0x203, is {}", - msg_type + "Incorrect message type, expected 0x203, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1679,8 +1668,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_baseline_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x203, - "Incorrect message type, expected 0x203, is {}", - msg_type + "Incorrect message type, expected 0x203, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1766,8 +1754,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_baseline_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x203, - "Incorrect message type, expected 0x203, is {}", - msg_type + "Incorrect message type, expected 0x203, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1853,8 +1840,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_baseline_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x203, - "Incorrect message type, expected 0x203, is {}", - msg_type + "Incorrect message type, expected 0x203, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1940,8 +1926,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_baseline_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x203, - "Incorrect message type, expected 0x203, is {}", - msg_type + "Incorrect message type, expected 0x203, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2027,8 +2012,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_baseline_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x203, - "Incorrect message type, expected 0x203, is {}", - msg_type + "Incorrect message type, expected 0x203, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2114,8 +2098,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_baseline_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x203, - "Incorrect message type, expected 0x203, is {}", - msg_type + "Incorrect message type, expected 0x203, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2205,8 +2188,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_baseline_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x203, - "Incorrect message type, expected 0x203, is {}", - msg_type + "Incorrect message type, expected 0x203, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2296,8 +2278,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_baseline_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x203, - "Incorrect message type, expected 0x203, is {}", - msg_type + "Incorrect message type, expected 0x203, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2387,8 +2368,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_baseline_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x203, - "Incorrect message type, expected 0x203, is {}", - msg_type + "Incorrect message type, expected 0x203, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2478,8 +2458,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_baseline_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x203, - "Incorrect message type, expected 0x203, is {}", - msg_type + "Incorrect message type, expected 0x203, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2569,8 +2548,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_baseline_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x203, - "Incorrect message type, expected 0x203, is {}", - msg_type + "Incorrect message type, expected 0x203, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_dops.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_dops.rs index 2397714116..3a53765398 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_dops.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_dops.rs @@ -123,8 +123,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_dops() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x208, - "Incorrect message type, expected 0x208, is {}", - msg_type + "Incorrect message type, expected 0x208, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -217,8 +216,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_dops() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x208, - "Incorrect message type, expected 0x208, is {}", - msg_type + "Incorrect message type, expected 0x208, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_dops_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_dops_dep_a.rs index 4dc811716b..56688992c5 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_dops_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_dops_dep_a.rs @@ -598,8 +598,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_dops_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x206, - "Incorrect message type, expected 0x206, is {}", - msg_type + "Incorrect message type, expected 0x206, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -666,8 +665,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_dops_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x206, - "Incorrect message type, expected 0x206, is {}", - msg_type + "Incorrect message type, expected 0x206, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -734,8 +732,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_dops_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x206, - "Incorrect message type, expected 0x206, is {}", - msg_type + "Incorrect message type, expected 0x206, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -802,8 +799,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_dops_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x206, - "Incorrect message type, expected 0x206, is {}", - msg_type + "Incorrect message type, expected 0x206, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -870,8 +866,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_dops_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x206, - "Incorrect message type, expected 0x206, is {}", - msg_type + "Incorrect message type, expected 0x206, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -938,8 +933,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_dops_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x206, - "Incorrect message type, expected 0x206, is {}", - msg_type + "Incorrect message type, expected 0x206, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1006,8 +1000,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_dops_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x206, - "Incorrect message type, expected 0x206, is {}", - msg_type + "Incorrect message type, expected 0x206, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1074,8 +1067,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_dops_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x206, - "Incorrect message type, expected 0x206, is {}", - msg_type + "Incorrect message type, expected 0x206, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1142,8 +1134,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_dops_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x206, - "Incorrect message type, expected 0x206, is {}", - msg_type + "Incorrect message type, expected 0x206, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1231,8 +1222,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_dops_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x206, - "Incorrect message type, expected 0x206, is {}", - msg_type + "Incorrect message type, expected 0x206, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1311,8 +1301,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_dops_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x206, - "Incorrect message type, expected 0x206, is {}", - msg_type + "Incorrect message type, expected 0x206, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1391,8 +1380,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_dops_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x206, - "Incorrect message type, expected 0x206, is {}", - msg_type + "Incorrect message type, expected 0x206, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1471,8 +1459,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_dops_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x206, - "Incorrect message type, expected 0x206, is {}", - msg_type + "Incorrect message type, expected 0x206, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1551,8 +1538,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_dops_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x206, - "Incorrect message type, expected 0x206, is {}", - msg_type + "Incorrect message type, expected 0x206, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1631,8 +1617,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_dops_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x206, - "Incorrect message type, expected 0x206, is {}", - msg_type + "Incorrect message type, expected 0x206, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1711,8 +1696,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_dops_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x206, - "Incorrect message type, expected 0x206, is {}", - msg_type + "Incorrect message type, expected 0x206, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1791,8 +1775,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_dops_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x206, - "Incorrect message type, expected 0x206, is {}", - msg_type + "Incorrect message type, expected 0x206, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1871,8 +1854,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_dops_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x206, - "Incorrect message type, expected 0x206, is {}", - msg_type + "Incorrect message type, expected 0x206, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_gps_time.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_gps_time.rs index d8e8c365cf..8b9e8929c3 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_gps_time.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_gps_time.rs @@ -308,8 +308,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_gps_time() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x102, - "Incorrect message type, expected 0x102, is {}", - msg_type + "Incorrect message type, expected 0x102, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -366,8 +365,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_gps_time() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x102, - "Incorrect message type, expected 0x102, is {}", - msg_type + "Incorrect message type, expected 0x102, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -424,8 +422,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_gps_time() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x102, - "Incorrect message type, expected 0x102, is {}", - msg_type + "Incorrect message type, expected 0x102, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -482,8 +479,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_gps_time() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x102, - "Incorrect message type, expected 0x102, is {}", - msg_type + "Incorrect message type, expected 0x102, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -540,8 +536,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_gps_time() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x102, - "Incorrect message type, expected 0x102, is {}", - msg_type + "Incorrect message type, expected 0x102, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -619,8 +614,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_gps_time() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x102, - "Incorrect message type, expected 0x102, is {}", - msg_type + "Incorrect message type, expected 0x102, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -689,8 +683,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_gps_time() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x102, - "Incorrect message type, expected 0x102, is {}", - msg_type + "Incorrect message type, expected 0x102, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -759,8 +752,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_gps_time() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x102, - "Incorrect message type, expected 0x102, is {}", - msg_type + "Incorrect message type, expected 0x102, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -829,8 +821,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_gps_time() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x102, - "Incorrect message type, expected 0x102, is {}", - msg_type + "Incorrect message type, expected 0x102, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -899,8 +890,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_gps_time() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x102, - "Incorrect message type, expected 0x102, is {}", - msg_type + "Incorrect message type, expected 0x102, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_gps_time_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_gps_time_dep_a.rs index 43c2ad328c..4530794e30 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_gps_time_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_gps_time_dep_a.rs @@ -608,8 +608,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_gps_time_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x100, - "Incorrect message type, expected 0x100, is {}", - msg_type + "Incorrect message type, expected 0x100, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -666,8 +665,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_gps_time_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x100, - "Incorrect message type, expected 0x100, is {}", - msg_type + "Incorrect message type, expected 0x100, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -724,8 +722,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_gps_time_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x100, - "Incorrect message type, expected 0x100, is {}", - msg_type + "Incorrect message type, expected 0x100, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -782,8 +779,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_gps_time_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x100, - "Incorrect message type, expected 0x100, is {}", - msg_type + "Incorrect message type, expected 0x100, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -840,8 +836,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_gps_time_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x100, - "Incorrect message type, expected 0x100, is {}", - msg_type + "Incorrect message type, expected 0x100, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -898,8 +893,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_gps_time_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x100, - "Incorrect message type, expected 0x100, is {}", - msg_type + "Incorrect message type, expected 0x100, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -956,8 +950,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_gps_time_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x100, - "Incorrect message type, expected 0x100, is {}", - msg_type + "Incorrect message type, expected 0x100, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1014,8 +1007,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_gps_time_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x100, - "Incorrect message type, expected 0x100, is {}", - msg_type + "Incorrect message type, expected 0x100, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1072,8 +1064,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_gps_time_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x100, - "Incorrect message type, expected 0x100, is {}", - msg_type + "Incorrect message type, expected 0x100, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1130,8 +1121,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_gps_time_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x100, - "Incorrect message type, expected 0x100, is {}", - msg_type + "Incorrect message type, expected 0x100, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1188,8 +1178,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_gps_time_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x100, - "Incorrect message type, expected 0x100, is {}", - msg_type + "Incorrect message type, expected 0x100, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1267,8 +1256,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_gps_time_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x100, - "Incorrect message type, expected 0x100, is {}", - msg_type + "Incorrect message type, expected 0x100, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1337,8 +1325,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_gps_time_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x100, - "Incorrect message type, expected 0x100, is {}", - msg_type + "Incorrect message type, expected 0x100, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1407,8 +1394,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_gps_time_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x100, - "Incorrect message type, expected 0x100, is {}", - msg_type + "Incorrect message type, expected 0x100, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1477,8 +1463,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_gps_time_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x100, - "Incorrect message type, expected 0x100, is {}", - msg_type + "Incorrect message type, expected 0x100, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1547,8 +1532,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_gps_time_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x100, - "Incorrect message type, expected 0x100, is {}", - msg_type + "Incorrect message type, expected 0x100, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1617,8 +1601,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_gps_time_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x100, - "Incorrect message type, expected 0x100, is {}", - msg_type + "Incorrect message type, expected 0x100, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1687,8 +1670,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_gps_time_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x100, - "Incorrect message type, expected 0x100, is {}", - msg_type + "Incorrect message type, expected 0x100, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1757,8 +1739,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_gps_time_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x100, - "Incorrect message type, expected 0x100, is {}", - msg_type + "Incorrect message type, expected 0x100, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1827,8 +1808,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_gps_time_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x100, - "Incorrect message type, expected 0x100, is {}", - msg_type + "Incorrect message type, expected 0x100, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1897,8 +1877,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_gps_time_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x100, - "Incorrect message type, expected 0x100, is {}", - msg_type + "Incorrect message type, expected 0x100, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1967,8 +1946,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_gps_time_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x100, - "Incorrect message type, expected 0x100, is {}", - msg_type + "Incorrect message type, expected 0x100, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_gps_time_gnss.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_gps_time_gnss.rs index c88bbb5ef6..4f5b750bc2 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_gps_time_gnss.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_gps_time_gnss.rs @@ -308,8 +308,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_gps_time_gnss() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x104, - "Incorrect message type, expected 0x104, is {}", - msg_type + "Incorrect message type, expected 0x104, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -366,8 +365,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_gps_time_gnss() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x104, - "Incorrect message type, expected 0x104, is {}", - msg_type + "Incorrect message type, expected 0x104, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -424,8 +422,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_gps_time_gnss() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x104, - "Incorrect message type, expected 0x104, is {}", - msg_type + "Incorrect message type, expected 0x104, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -482,8 +479,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_gps_time_gnss() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x104, - "Incorrect message type, expected 0x104, is {}", - msg_type + "Incorrect message type, expected 0x104, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -540,8 +536,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_gps_time_gnss() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x104, - "Incorrect message type, expected 0x104, is {}", - msg_type + "Incorrect message type, expected 0x104, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -619,8 +614,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_gps_time_gnss() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x104, - "Incorrect message type, expected 0x104, is {}", - msg_type + "Incorrect message type, expected 0x104, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -689,8 +683,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_gps_time_gnss() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x104, - "Incorrect message type, expected 0x104, is {}", - msg_type + "Incorrect message type, expected 0x104, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -759,8 +752,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_gps_time_gnss() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x104, - "Incorrect message type, expected 0x104, is {}", - msg_type + "Incorrect message type, expected 0x104, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -829,8 +821,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_gps_time_gnss() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x104, - "Incorrect message type, expected 0x104, is {}", - msg_type + "Incorrect message type, expected 0x104, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -899,8 +890,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_gps_time_gnss() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x104, - "Incorrect message type, expected 0x104, is {}", - msg_type + "Incorrect message type, expected 0x104, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_ecef.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_ecef.rs index add65418ed..d5d66860b2 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_ecef.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_ecef.rs @@ -324,8 +324,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_pos_ecef() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x209, - "Incorrect message type, expected 0x209, is {}", - msg_type + "Incorrect message type, expected 0x209, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -397,8 +396,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_pos_ecef() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x209, - "Incorrect message type, expected 0x209, is {}", - msg_type + "Incorrect message type, expected 0x209, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -470,8 +468,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_pos_ecef() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x209, - "Incorrect message type, expected 0x209, is {}", - msg_type + "Incorrect message type, expected 0x209, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -543,8 +540,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_pos_ecef() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x209, - "Incorrect message type, expected 0x209, is {}", - msg_type + "Incorrect message type, expected 0x209, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -638,8 +634,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_pos_ecef() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x209, - "Incorrect message type, expected 0x209, is {}", - msg_type + "Incorrect message type, expected 0x209, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -725,8 +720,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_pos_ecef() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x209, - "Incorrect message type, expected 0x209, is {}", - msg_type + "Incorrect message type, expected 0x209, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -812,8 +806,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_pos_ecef() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x209, - "Incorrect message type, expected 0x209, is {}", - msg_type + "Incorrect message type, expected 0x209, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -898,8 +891,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_pos_ecef() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x209, - "Incorrect message type, expected 0x209, is {}", - msg_type + "Incorrect message type, expected 0x209, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_ecef_cov.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_ecef_cov.rs index 1c91dab8fe..0d24669bbb 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_ecef_cov.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_ecef_cov.rs @@ -150,8 +150,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_pos_ecef_cov() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x214, - "Incorrect message type, expected 0x214, is {}", - msg_type + "Incorrect message type, expected 0x214, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -271,8 +270,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_pos_ecef_cov() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x214, - "Incorrect message type, expected 0x214, is {}", - msg_type + "Incorrect message type, expected 0x214, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_ecef_cov_gnss.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_ecef_cov_gnss.rs index 82736a156b..054078e398 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_ecef_cov_gnss.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_ecef_cov_gnss.rs @@ -151,8 +151,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_pos_ecef_cov_gnss() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x234, - "Incorrect message type, expected 0x234, is {}", - msg_type + "Incorrect message type, expected 0x234, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -273,8 +272,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_pos_ecef_cov_gnss() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x234, - "Incorrect message type, expected 0x234, is {}", - msg_type + "Incorrect message type, expected 0x234, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_ecef_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_ecef_dep_a.rs index b03254664c..ca1590c098 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_ecef_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_ecef_dep_a.rs @@ -784,8 +784,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_pos_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x200, - "Incorrect message type, expected 0x200, is {}", - msg_type + "Incorrect message type, expected 0x200, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -857,8 +856,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_pos_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x200, - "Incorrect message type, expected 0x200, is {}", - msg_type + "Incorrect message type, expected 0x200, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -930,8 +928,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_pos_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x200, - "Incorrect message type, expected 0x200, is {}", - msg_type + "Incorrect message type, expected 0x200, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1003,8 +1000,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_pos_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x200, - "Incorrect message type, expected 0x200, is {}", - msg_type + "Incorrect message type, expected 0x200, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1076,8 +1072,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_pos_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x200, - "Incorrect message type, expected 0x200, is {}", - msg_type + "Incorrect message type, expected 0x200, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1149,8 +1144,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_pos_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x200, - "Incorrect message type, expected 0x200, is {}", - msg_type + "Incorrect message type, expected 0x200, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1222,8 +1216,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_pos_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x200, - "Incorrect message type, expected 0x200, is {}", - msg_type + "Incorrect message type, expected 0x200, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1295,8 +1288,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_pos_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x200, - "Incorrect message type, expected 0x200, is {}", - msg_type + "Incorrect message type, expected 0x200, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1368,8 +1360,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_pos_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x200, - "Incorrect message type, expected 0x200, is {}", - msg_type + "Incorrect message type, expected 0x200, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1441,8 +1432,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_pos_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x200, - "Incorrect message type, expected 0x200, is {}", - msg_type + "Incorrect message type, expected 0x200, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1514,8 +1504,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_pos_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x200, - "Incorrect message type, expected 0x200, is {}", - msg_type + "Incorrect message type, expected 0x200, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1609,8 +1598,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_pos_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x200, - "Incorrect message type, expected 0x200, is {}", - msg_type + "Incorrect message type, expected 0x200, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1695,8 +1683,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_pos_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x200, - "Incorrect message type, expected 0x200, is {}", - msg_type + "Incorrect message type, expected 0x200, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1781,8 +1768,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_pos_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x200, - "Incorrect message type, expected 0x200, is {}", - msg_type + "Incorrect message type, expected 0x200, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1867,8 +1853,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_pos_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x200, - "Incorrect message type, expected 0x200, is {}", - msg_type + "Incorrect message type, expected 0x200, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1953,8 +1938,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_pos_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x200, - "Incorrect message type, expected 0x200, is {}", - msg_type + "Incorrect message type, expected 0x200, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2039,8 +2023,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_pos_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x200, - "Incorrect message type, expected 0x200, is {}", - msg_type + "Incorrect message type, expected 0x200, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2125,8 +2108,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_pos_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x200, - "Incorrect message type, expected 0x200, is {}", - msg_type + "Incorrect message type, expected 0x200, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2211,8 +2193,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_pos_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x200, - "Incorrect message type, expected 0x200, is {}", - msg_type + "Incorrect message type, expected 0x200, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2297,8 +2278,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_pos_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x200, - "Incorrect message type, expected 0x200, is {}", - msg_type + "Incorrect message type, expected 0x200, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2383,8 +2363,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_pos_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x200, - "Incorrect message type, expected 0x200, is {}", - msg_type + "Incorrect message type, expected 0x200, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2469,8 +2448,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_pos_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x200, - "Incorrect message type, expected 0x200, is {}", - msg_type + "Incorrect message type, expected 0x200, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_ecefgnss.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_ecefgnss.rs index a00dbf150e..5c230a1053 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_ecefgnss.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_ecefgnss.rs @@ -124,8 +124,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_pos_ecefgnss() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x229, - "Incorrect message type, expected 0x229, is {}", - msg_type + "Incorrect message type, expected 0x229, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -219,8 +218,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_pos_ecefgnss() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x229, - "Incorrect message type, expected 0x229, is {}", - msg_type + "Incorrect message type, expected 0x229, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh.rs index bf67ce6a3f..e8e64f2a93 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh.rs @@ -418,8 +418,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_pos_llh() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20a, - "Incorrect message type, expected 0x20a, is {}", - msg_type + "Incorrect message type, expected 0x20a, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -496,8 +495,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_pos_llh() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20a, - "Incorrect message type, expected 0x20a, is {}", - msg_type + "Incorrect message type, expected 0x20a, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -574,8 +572,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_pos_llh() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20a, - "Incorrect message type, expected 0x20a, is {}", - msg_type + "Incorrect message type, expected 0x20a, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -652,8 +649,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_pos_llh() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20a, - "Incorrect message type, expected 0x20a, is {}", - msg_type + "Incorrect message type, expected 0x20a, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -730,8 +726,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_pos_llh() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20a, - "Incorrect message type, expected 0x20a, is {}", - msg_type + "Incorrect message type, expected 0x20a, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -831,8 +826,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_pos_llh() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20a, - "Incorrect message type, expected 0x20a, is {}", - msg_type + "Incorrect message type, expected 0x20a, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -923,8 +917,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_pos_llh() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20a, - "Incorrect message type, expected 0x20a, is {}", - msg_type + "Incorrect message type, expected 0x20a, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1015,8 +1008,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_pos_llh() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20a, - "Incorrect message type, expected 0x20a, is {}", - msg_type + "Incorrect message type, expected 0x20a, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1107,8 +1099,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_pos_llh() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20a, - "Incorrect message type, expected 0x20a, is {}", - msg_type + "Incorrect message type, expected 0x20a, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1199,8 +1190,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_pos_llh() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20a, - "Incorrect message type, expected 0x20a, is {}", - msg_type + "Incorrect message type, expected 0x20a, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh_acc.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh_acc.rs index 76c35e1848..cd4ac07900 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh_acc.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh_acc.rs @@ -150,8 +150,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_pos_llh_acc() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x218, - "Incorrect message type, expected 0x218, is {}", - msg_type + "Incorrect message type, expected 0x218, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -271,8 +270,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_pos_llh_acc() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x218, - "Incorrect message type, expected 0x218, is {}", - msg_type + "Incorrect message type, expected 0x218, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh_cov.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh_cov.rs index d92706733d..13fb94ed14 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh_cov.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh_cov.rs @@ -150,8 +150,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_pos_llh_cov() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x211, - "Incorrect message type, expected 0x211, is {}", - msg_type + "Incorrect message type, expected 0x211, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -271,8 +270,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_pos_llh_cov() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x211, - "Incorrect message type, expected 0x211, is {}", - msg_type + "Incorrect message type, expected 0x211, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh_cov_gnss.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh_cov_gnss.rs index 4d75187ef1..5924a81861 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh_cov_gnss.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh_cov_gnss.rs @@ -151,8 +151,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_pos_llh_cov_gnss() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x231, - "Incorrect message type, expected 0x231, is {}", - msg_type + "Incorrect message type, expected 0x231, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -273,8 +272,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_pos_llh_cov_gnss() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x231, - "Incorrect message type, expected 0x231, is {}", - msg_type + "Incorrect message type, expected 0x231, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh_dep_a.rs index 4cca7d1597..a939825a88 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh_dep_a.rs @@ -847,8 +847,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_pos_llh_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x201, - "Incorrect message type, expected 0x201, is {}", - msg_type + "Incorrect message type, expected 0x201, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -925,8 +924,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_pos_llh_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x201, - "Incorrect message type, expected 0x201, is {}", - msg_type + "Incorrect message type, expected 0x201, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1003,8 +1001,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_pos_llh_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x201, - "Incorrect message type, expected 0x201, is {}", - msg_type + "Incorrect message type, expected 0x201, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1081,8 +1078,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_pos_llh_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x201, - "Incorrect message type, expected 0x201, is {}", - msg_type + "Incorrect message type, expected 0x201, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1159,8 +1155,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_pos_llh_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x201, - "Incorrect message type, expected 0x201, is {}", - msg_type + "Incorrect message type, expected 0x201, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1237,8 +1232,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_pos_llh_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x201, - "Incorrect message type, expected 0x201, is {}", - msg_type + "Incorrect message type, expected 0x201, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1315,8 +1309,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_pos_llh_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x201, - "Incorrect message type, expected 0x201, is {}", - msg_type + "Incorrect message type, expected 0x201, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1393,8 +1386,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_pos_llh_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x201, - "Incorrect message type, expected 0x201, is {}", - msg_type + "Incorrect message type, expected 0x201, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1471,8 +1463,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_pos_llh_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x201, - "Incorrect message type, expected 0x201, is {}", - msg_type + "Incorrect message type, expected 0x201, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1549,8 +1540,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_pos_llh_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x201, - "Incorrect message type, expected 0x201, is {}", - msg_type + "Incorrect message type, expected 0x201, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1627,8 +1617,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_pos_llh_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x201, - "Incorrect message type, expected 0x201, is {}", - msg_type + "Incorrect message type, expected 0x201, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1728,8 +1717,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_pos_llh_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x201, - "Incorrect message type, expected 0x201, is {}", - msg_type + "Incorrect message type, expected 0x201, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1819,8 +1807,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_pos_llh_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x201, - "Incorrect message type, expected 0x201, is {}", - msg_type + "Incorrect message type, expected 0x201, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1911,8 +1898,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_pos_llh_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x201, - "Incorrect message type, expected 0x201, is {}", - msg_type + "Incorrect message type, expected 0x201, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2003,8 +1989,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_pos_llh_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x201, - "Incorrect message type, expected 0x201, is {}", - msg_type + "Incorrect message type, expected 0x201, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2095,8 +2080,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_pos_llh_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x201, - "Incorrect message type, expected 0x201, is {}", - msg_type + "Incorrect message type, expected 0x201, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2186,8 +2170,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_pos_llh_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x201, - "Incorrect message type, expected 0x201, is {}", - msg_type + "Incorrect message type, expected 0x201, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2278,8 +2261,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_pos_llh_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x201, - "Incorrect message type, expected 0x201, is {}", - msg_type + "Incorrect message type, expected 0x201, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2370,8 +2352,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_pos_llh_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x201, - "Incorrect message type, expected 0x201, is {}", - msg_type + "Incorrect message type, expected 0x201, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2461,8 +2442,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_pos_llh_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x201, - "Incorrect message type, expected 0x201, is {}", - msg_type + "Incorrect message type, expected 0x201, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2553,8 +2533,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_pos_llh_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x201, - "Incorrect message type, expected 0x201, is {}", - msg_type + "Incorrect message type, expected 0x201, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2645,8 +2624,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_pos_llh_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x201, - "Incorrect message type, expected 0x201, is {}", - msg_type + "Incorrect message type, expected 0x201, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh_gnss.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh_gnss.rs index de370a039f..48d053f94e 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh_gnss.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh_gnss.rs @@ -130,8 +130,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_pos_llh_gnss() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x22a, - "Incorrect message type, expected 0x22a, is {}", - msg_type + "Incorrect message type, expected 0x22a, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -231,8 +230,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_pos_llh_gnss() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x22a, - "Incorrect message type, expected 0x22a, is {}", - msg_type + "Incorrect message type, expected 0x22a, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pose_relative.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pose_relative.rs index 33b16d26f9..b12319588f 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pose_relative.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pose_relative.rs @@ -211,8 +211,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_pose_relative() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x245, - "Incorrect message type, expected 0x245, is {}", - msg_type + "Incorrect message type, expected 0x245, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -393,8 +392,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_pose_relative() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x245, - "Incorrect message type, expected 0x245, is {}", - msg_type + "Incorrect message type, expected 0x245, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_protection_level.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_protection_level.rs index d29397e566..4a9689cf26 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_protection_level.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_protection_level.rs @@ -197,8 +197,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_protection_level() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x217, - "Incorrect message type, expected 0x217, is {}", - msg_type + "Incorrect message type, expected 0x217, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -365,8 +364,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_protection_level() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x217, - "Incorrect message type, expected 0x217, is {}", - msg_type + "Incorrect message type, expected 0x217, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_protection_level_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_protection_level_dep_a.rs index 08f933c12f..db2500289e 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_protection_level_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_protection_level_dep_a.rs @@ -125,8 +125,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_protection_level_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x216, - "Incorrect message type, expected 0x216, is {}", - msg_type + "Incorrect message type, expected 0x216, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -221,8 +220,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_protection_level_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x216, - "Incorrect message type, expected 0x216, is {}", - msg_type + "Incorrect message type, expected 0x216, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_reference_frame_param.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_reference_frame_param.rs index 07ccfb29cf..7ee6c85c65 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_reference_frame_param.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_reference_frame_param.rs @@ -208,8 +208,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_reference_frame_param() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 580, - "Incorrect message type, expected 580, is {}", - msg_type + "Incorrect message type, expected 580, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -387,8 +386,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_reference_frame_param() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 580, - "Incorrect message type, expected 580, is {}", - msg_type + "Incorrect message type, expected 580, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_utc_leap_second.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_utc_leap_second.rs index b73ec56376..729e1dddb8 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_utc_leap_second.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_utc_leap_second.rs @@ -133,8 +133,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_utc_leap_second() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 570, - "Incorrect message type, expected 570, is {}", - msg_type + "Incorrect message type, expected 570, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -237,8 +236,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_utc_leap_second() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 570, - "Incorrect message type, expected 570, is {}", - msg_type + "Incorrect message type, expected 570, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_utc_time.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_utc_time.rs index 7505a5b923..ef8a7aa811 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_utc_time.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_utc_time.rs @@ -134,8 +134,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_utc_time() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x103, - "Incorrect message type, expected 0x103, is {}", - msg_type + "Incorrect message type, expected 0x103, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -239,8 +238,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_utc_time() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x103, - "Incorrect message type, expected 0x103, is {}", - msg_type + "Incorrect message type, expected 0x103, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_utc_time_gnss.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_utc_time_gnss.rs index c34f093985..b6cdfc7fd2 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_utc_time_gnss.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_utc_time_gnss.rs @@ -134,8 +134,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_utc_time_gnss() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x105, - "Incorrect message type, expected 0x105, is {}", - msg_type + "Incorrect message type, expected 0x105, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -239,8 +238,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_utc_time_gnss() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x105, - "Incorrect message type, expected 0x105, is {}", - msg_type + "Incorrect message type, expected 0x105, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_body.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_body.rs index 7c4c5028dc..4498e0d165 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_body.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_body.rs @@ -137,8 +137,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_vel_body() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x213, - "Incorrect message type, expected 0x213, is {}", - msg_type + "Incorrect message type, expected 0x213, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -245,8 +244,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_vel_body() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x213, - "Incorrect message type, expected 0x213, is {}", - msg_type + "Incorrect message type, expected 0x213, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_cog.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_cog.rs index 0f30287fd0..c937de2033 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_cog.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_cog.rs @@ -271,8 +271,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_vel_cog() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x21C, - "Incorrect message type, expected 0x21C, is {}", - msg_type + "Incorrect message type, expected 0x21C, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -349,8 +348,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_vel_cog() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x21C, - "Incorrect message type, expected 0x21C, is {}", - msg_type + "Incorrect message type, expected 0x21C, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -427,8 +425,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_vel_cog() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x21C, - "Incorrect message type, expected 0x21C, is {}", - msg_type + "Incorrect message type, expected 0x21C, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -527,8 +524,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_vel_cog() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x21C, - "Incorrect message type, expected 0x21C, is {}", - msg_type + "Incorrect message type, expected 0x21C, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -618,8 +614,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_vel_cog() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x21C, - "Incorrect message type, expected 0x21C, is {}", - msg_type + "Incorrect message type, expected 0x21C, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -709,8 +704,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_vel_cog() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x21C, - "Incorrect message type, expected 0x21C, is {}", - msg_type + "Incorrect message type, expected 0x21C, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ecef.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ecef.rs index d4cd02fa5f..5f562a5aac 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ecef.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ecef.rs @@ -384,8 +384,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_vel_ecef() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20d, - "Incorrect message type, expected 0x20d, is {}", - msg_type + "Incorrect message type, expected 0x20d, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -457,8 +456,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_vel_ecef() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20d, - "Incorrect message type, expected 0x20d, is {}", - msg_type + "Incorrect message type, expected 0x20d, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -530,8 +528,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_vel_ecef() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20d, - "Incorrect message type, expected 0x20d, is {}", - msg_type + "Incorrect message type, expected 0x20d, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -599,8 +596,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_vel_ecef() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20d, - "Incorrect message type, expected 0x20d, is {}", - msg_type + "Incorrect message type, expected 0x20d, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -672,8 +668,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_vel_ecef() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20d, - "Incorrect message type, expected 0x20d, is {}", - msg_type + "Incorrect message type, expected 0x20d, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -767,8 +762,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_vel_ecef() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20d, - "Incorrect message type, expected 0x20d, is {}", - msg_type + "Incorrect message type, expected 0x20d, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -853,8 +847,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_vel_ecef() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20d, - "Incorrect message type, expected 0x20d, is {}", - msg_type + "Incorrect message type, expected 0x20d, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -939,8 +932,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_vel_ecef() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20d, - "Incorrect message type, expected 0x20d, is {}", - msg_type + "Incorrect message type, expected 0x20d, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1021,8 +1013,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_vel_ecef() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20d, - "Incorrect message type, expected 0x20d, is {}", - msg_type + "Incorrect message type, expected 0x20d, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1107,8 +1098,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_vel_ecef() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20d, - "Incorrect message type, expected 0x20d, is {}", - msg_type + "Incorrect message type, expected 0x20d, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ecef_cov.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ecef_cov.rs index 157dc3c2cf..341b712994 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ecef_cov.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ecef_cov.rs @@ -137,8 +137,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_vel_ecef_cov() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x215, - "Incorrect message type, expected 0x215, is {}", - msg_type + "Incorrect message type, expected 0x215, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -245,8 +244,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_vel_ecef_cov() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x215, - "Incorrect message type, expected 0x215, is {}", - msg_type + "Incorrect message type, expected 0x215, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ecef_cov_gnss.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ecef_cov_gnss.rs index c7b2537950..5bd1866554 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ecef_cov_gnss.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ecef_cov_gnss.rs @@ -142,8 +142,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_vel_ecef_cov_gnss() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x235, - "Incorrect message type, expected 0x235, is {}", - msg_type + "Incorrect message type, expected 0x235, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -255,8 +254,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_vel_ecef_cov_gnss() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x235, - "Incorrect message type, expected 0x235, is {}", - msg_type + "Incorrect message type, expected 0x235, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ecef_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ecef_dep_a.rs index 17d9c9fb2b..3f9fb22671 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ecef_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ecef_dep_a.rs @@ -768,8 +768,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_vel_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x204, - "Incorrect message type, expected 0x204, is {}", - msg_type + "Incorrect message type, expected 0x204, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -841,8 +840,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_vel_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x204, - "Incorrect message type, expected 0x204, is {}", - msg_type + "Incorrect message type, expected 0x204, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -914,8 +912,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_vel_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x204, - "Incorrect message type, expected 0x204, is {}", - msg_type + "Incorrect message type, expected 0x204, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -987,8 +984,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_vel_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x204, - "Incorrect message type, expected 0x204, is {}", - msg_type + "Incorrect message type, expected 0x204, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1060,8 +1056,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_vel_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x204, - "Incorrect message type, expected 0x204, is {}", - msg_type + "Incorrect message type, expected 0x204, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1133,8 +1128,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_vel_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x204, - "Incorrect message type, expected 0x204, is {}", - msg_type + "Incorrect message type, expected 0x204, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1206,8 +1200,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_vel_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x204, - "Incorrect message type, expected 0x204, is {}", - msg_type + "Incorrect message type, expected 0x204, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1275,8 +1268,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_vel_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x204, - "Incorrect message type, expected 0x204, is {}", - msg_type + "Incorrect message type, expected 0x204, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1340,8 +1332,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_vel_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x204, - "Incorrect message type, expected 0x204, is {}", - msg_type + "Incorrect message type, expected 0x204, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1413,8 +1404,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_vel_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x204, - "Incorrect message type, expected 0x204, is {}", - msg_type + "Incorrect message type, expected 0x204, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1482,8 +1472,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_vel_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x204, - "Incorrect message type, expected 0x204, is {}", - msg_type + "Incorrect message type, expected 0x204, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1577,8 +1566,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_vel_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x204, - "Incorrect message type, expected 0x204, is {}", - msg_type + "Incorrect message type, expected 0x204, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1663,8 +1651,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_vel_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x204, - "Incorrect message type, expected 0x204, is {}", - msg_type + "Incorrect message type, expected 0x204, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1749,8 +1736,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_vel_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x204, - "Incorrect message type, expected 0x204, is {}", - msg_type + "Incorrect message type, expected 0x204, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1835,8 +1821,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_vel_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x204, - "Incorrect message type, expected 0x204, is {}", - msg_type + "Incorrect message type, expected 0x204, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1921,8 +1906,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_vel_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x204, - "Incorrect message type, expected 0x204, is {}", - msg_type + "Incorrect message type, expected 0x204, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2007,8 +1991,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_vel_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x204, - "Incorrect message type, expected 0x204, is {}", - msg_type + "Incorrect message type, expected 0x204, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2093,8 +2076,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_vel_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x204, - "Incorrect message type, expected 0x204, is {}", - msg_type + "Incorrect message type, expected 0x204, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2175,8 +2157,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_vel_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x204, - "Incorrect message type, expected 0x204, is {}", - msg_type + "Incorrect message type, expected 0x204, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2253,8 +2234,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_vel_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x204, - "Incorrect message type, expected 0x204, is {}", - msg_type + "Incorrect message type, expected 0x204, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2339,8 +2319,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_vel_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x204, - "Incorrect message type, expected 0x204, is {}", - msg_type + "Incorrect message type, expected 0x204, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2421,8 +2400,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_vel_ecef_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x204, - "Incorrect message type, expected 0x204, is {}", - msg_type + "Incorrect message type, expected 0x204, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ecef_gnss.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ecef_gnss.rs index 01d827b08b..255d69525e 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ecef_gnss.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ecef_gnss.rs @@ -116,8 +116,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_vel_ecef_gnss() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x22d, - "Incorrect message type, expected 0x22d, is {}", - msg_type + "Incorrect message type, expected 0x22d, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -203,8 +202,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_vel_ecef_gnss() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x22d, - "Incorrect message type, expected 0x22d, is {}", - msg_type + "Incorrect message type, expected 0x22d, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ned.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ned.rs index 3ebea9daa2..1cab1d6e4f 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ned.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ned.rs @@ -389,8 +389,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_vel_ned() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20e, - "Incorrect message type, expected 0x20e, is {}", - msg_type + "Incorrect message type, expected 0x20e, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -463,8 +462,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_vel_ned() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20e, - "Incorrect message type, expected 0x20e, is {}", - msg_type + "Incorrect message type, expected 0x20e, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -541,8 +539,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_vel_ned() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20e, - "Incorrect message type, expected 0x20e, is {}", - msg_type + "Incorrect message type, expected 0x20e, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -615,8 +612,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_vel_ned() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20e, - "Incorrect message type, expected 0x20e, is {}", - msg_type + "Incorrect message type, expected 0x20e, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -685,8 +681,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_vel_ned() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20e, - "Incorrect message type, expected 0x20e, is {}", - msg_type + "Incorrect message type, expected 0x20e, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -777,8 +772,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_vel_ned() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20e, - "Incorrect message type, expected 0x20e, is {}", - msg_type + "Incorrect message type, expected 0x20e, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -864,8 +858,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_vel_ned() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20e, - "Incorrect message type, expected 0x20e, is {}", - msg_type + "Incorrect message type, expected 0x20e, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -955,8 +948,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_vel_ned() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20e, - "Incorrect message type, expected 0x20e, is {}", - msg_type + "Incorrect message type, expected 0x20e, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1042,8 +1034,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_vel_ned() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20e, - "Incorrect message type, expected 0x20e, is {}", - msg_type + "Incorrect message type, expected 0x20e, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1125,8 +1116,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_vel_ned() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20e, - "Incorrect message type, expected 0x20e, is {}", - msg_type + "Incorrect message type, expected 0x20e, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ned_cov_gnss.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ned_cov_gnss.rs index 2b05ce9d73..1873ae4113 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ned_cov_gnss.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ned_cov_gnss.rs @@ -146,8 +146,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_vel_ned_cov_gnss() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x232, - "Incorrect message type, expected 0x232, is {}", - msg_type + "Incorrect message type, expected 0x232, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -263,8 +262,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_vel_ned_cov_gnss() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x232, - "Incorrect message type, expected 0x232, is {}", - msg_type + "Incorrect message type, expected 0x232, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ned_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ned_dep_a.rs index e514b2418f..8a79f48edc 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ned_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ned_dep_a.rs @@ -807,8 +807,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_vel_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x205, - "Incorrect message type, expected 0x205, is {}", - msg_type + "Incorrect message type, expected 0x205, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -881,8 +880,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_vel_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x205, - "Incorrect message type, expected 0x205, is {}", - msg_type + "Incorrect message type, expected 0x205, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -955,8 +953,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_vel_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x205, - "Incorrect message type, expected 0x205, is {}", - msg_type + "Incorrect message type, expected 0x205, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1029,8 +1026,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_vel_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x205, - "Incorrect message type, expected 0x205, is {}", - msg_type + "Incorrect message type, expected 0x205, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1103,8 +1099,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_vel_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x205, - "Incorrect message type, expected 0x205, is {}", - msg_type + "Incorrect message type, expected 0x205, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1177,8 +1172,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_vel_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x205, - "Incorrect message type, expected 0x205, is {}", - msg_type + "Incorrect message type, expected 0x205, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1255,8 +1249,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_vel_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x205, - "Incorrect message type, expected 0x205, is {}", - msg_type + "Incorrect message type, expected 0x205, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1329,8 +1322,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_vel_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x205, - "Incorrect message type, expected 0x205, is {}", - msg_type + "Incorrect message type, expected 0x205, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1407,8 +1399,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_vel_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x205, - "Incorrect message type, expected 0x205, is {}", - msg_type + "Incorrect message type, expected 0x205, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1481,8 +1472,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_vel_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x205, - "Incorrect message type, expected 0x205, is {}", - msg_type + "Incorrect message type, expected 0x205, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1555,8 +1545,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_vel_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x205, - "Incorrect message type, expected 0x205, is {}", - msg_type + "Incorrect message type, expected 0x205, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1655,8 +1644,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_vel_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x205, - "Incorrect message type, expected 0x205, is {}", - msg_type + "Incorrect message type, expected 0x205, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1742,8 +1730,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_vel_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x205, - "Incorrect message type, expected 0x205, is {}", - msg_type + "Incorrect message type, expected 0x205, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1829,8 +1816,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_vel_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x205, - "Incorrect message type, expected 0x205, is {}", - msg_type + "Incorrect message type, expected 0x205, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1916,8 +1902,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_vel_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x205, - "Incorrect message type, expected 0x205, is {}", - msg_type + "Incorrect message type, expected 0x205, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2003,8 +1988,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_vel_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x205, - "Incorrect message type, expected 0x205, is {}", - msg_type + "Incorrect message type, expected 0x205, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2090,8 +2074,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_vel_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x205, - "Incorrect message type, expected 0x205, is {}", - msg_type + "Incorrect message type, expected 0x205, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2181,8 +2164,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_vel_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x205, - "Incorrect message type, expected 0x205, is {}", - msg_type + "Incorrect message type, expected 0x205, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2268,8 +2250,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_vel_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x205, - "Incorrect message type, expected 0x205, is {}", - msg_type + "Incorrect message type, expected 0x205, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2359,8 +2340,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_vel_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x205, - "Incorrect message type, expected 0x205, is {}", - msg_type + "Incorrect message type, expected 0x205, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2446,8 +2426,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_vel_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x205, - "Incorrect message type, expected 0x205, is {}", - msg_type + "Incorrect message type, expected 0x205, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2533,8 +2512,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_vel_ned_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x205, - "Incorrect message type, expected 0x205, is {}", - msg_type + "Incorrect message type, expected 0x205, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ned_gnss.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ned_gnss.rs index 442994fd2b..140ca49b49 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ned_gnss.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_ned_gnss.rs @@ -125,8 +125,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_vel_ned_gnss() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x22e, - "Incorrect message type, expected 0x22e, is {}", - msg_type + "Incorrect message type, expected 0x22e, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -221,8 +220,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_vel_ned_gnss() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x22e, - "Incorrect message type, expected 0x22e, is {}", - msg_type + "Incorrect message type, expected 0x22e, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_nedcov.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_nedcov.rs index ad1bbee50c..d9ce2d3c69 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_nedcov.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_vel_nedcov.rs @@ -138,8 +138,7 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_vel_nedcov() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x212, - "Incorrect message type, expected 0x212, is {}", - msg_type + "Incorrect message type, expected 0x212, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -247,8 +246,7 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_vel_nedcov() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x212, - "Incorrect message type, expected 0x212, is {}", - msg_type + "Incorrect message type, expected 0x212, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_ndb_msg_ndb_event.rs b/rust/sbp/tests/integration/auto_check_sbp_ndb_msg_ndb_event.rs index 72b5300bef..2e33fb1b32 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ndb_msg_ndb_event.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ndb_msg_ndb_event.rs @@ -139,8 +139,7 @@ fn test_json2sbp_auto_check_sbp_ndb_msg_ndb_event() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x400, - "Incorrect message type, expected 0x400, is {}", - msg_type + "Incorrect message type, expected 0x400, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -249,8 +248,7 @@ fn test_sbp2json_auto_check_sbp_ndb_msg_ndb_event() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x400, - "Incorrect message type, expected 0x400, is {}", - msg_type + "Incorrect message type, expected 0x400, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_almanac_glo.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_almanac_glo.rs index 78ed45f920..3958a2ff5b 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_almanac_glo.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_almanac_glo.rs @@ -167,8 +167,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_almanac_glo() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x73, - "Incorrect message type, expected 0x73, is {}", - msg_type + "Incorrect message type, expected 0x73, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -305,8 +304,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_almanac_glo() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x73, - "Incorrect message type, expected 0x73, is {}", - msg_type + "Incorrect message type, expected 0x73, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_almanac_glo_dep.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_almanac_glo_dep.rs index 0ace1e969b..ee375fa485 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_almanac_glo_dep.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_almanac_glo_dep.rs @@ -172,8 +172,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_almanac_glo_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x71, - "Incorrect message type, expected 0x71, is {}", - msg_type + "Incorrect message type, expected 0x71, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -315,8 +314,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_almanac_glo_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x71, - "Incorrect message type, expected 0x71, is {}", - msg_type + "Incorrect message type, expected 0x71, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_almanac_gps.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_almanac_gps.rs index 7ddb1df3d1..7ef1d6eb14 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_almanac_gps.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_almanac_gps.rs @@ -177,8 +177,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_almanac_gps() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x72, - "Incorrect message type, expected 0x72, is {}", - msg_type + "Incorrect message type, expected 0x72, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -325,8 +324,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_almanac_gps() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x72, - "Incorrect message type, expected 0x72, is {}", - msg_type + "Incorrect message type, expected 0x72, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_almanac_gps_dep.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_almanac_gps_dep.rs index 566c6d977c..af2ea92d1b 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_almanac_gps_dep.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_almanac_gps_dep.rs @@ -183,8 +183,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_almanac_gps_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x70, - "Incorrect message type, expected 0x70, is {}", - msg_type + "Incorrect message type, expected 0x70, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -337,8 +336,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_almanac_gps_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x70, - "Incorrect message type, expected 0x70, is {}", - msg_type + "Incorrect message type, expected 0x70, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_base_pos_ecef.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_base_pos_ecef.rs index 88a5077916..adadf1bd49 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_base_pos_ecef.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_base_pos_ecef.rs @@ -104,8 +104,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_base_pos_ecef() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x48, - "Incorrect message type, expected 0x48, is {}", - msg_type + "Incorrect message type, expected 0x48, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -179,8 +178,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_base_pos_ecef() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x48, - "Incorrect message type, expected 0x48, is {}", - msg_type + "Incorrect message type, expected 0x48, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_base_pos_llh.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_base_pos_llh.rs index 9243453323..a42009f403 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_base_pos_llh.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_base_pos_llh.rs @@ -104,8 +104,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_base_pos_llh() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x44, - "Incorrect message type, expected 0x44, is {}", - msg_type + "Incorrect message type, expected 0x44, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -179,8 +178,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_base_pos_llh() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x44, - "Incorrect message type, expected 0x44, is {}", - msg_type + "Incorrect message type, expected 0x44, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_bds.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_bds.rs index 2a3c9dddc7..cb1940e8bb 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_bds.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_bds.rs @@ -255,8 +255,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_ephemeris_bds() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x89, - "Incorrect message type, expected 0x89, is {}", - msg_type + "Incorrect message type, expected 0x89, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -481,8 +480,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_ephemeris_bds() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x89, - "Incorrect message type, expected 0x89, is {}", - msg_type + "Incorrect message type, expected 0x89, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_dep_a.rs index 5352b388da..6689dfcb2f 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_dep_a.rs @@ -226,8 +226,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_ephemeris_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x1a, - "Incorrect message type, expected 0x1a, is {}", - msg_type + "Incorrect message type, expected 0x1a, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -423,8 +422,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_ephemeris_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x1a, - "Incorrect message type, expected 0x1a, is {}", - msg_type + "Incorrect message type, expected 0x1a, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_dep_b.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_dep_b.rs index 655e49bcaa..4f11de1b9b 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_dep_b.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_dep_b.rs @@ -1096,8 +1096,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_ephemeris_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x46, - "Incorrect message type, expected 0x46, is {}", - msg_type + "Incorrect message type, expected 0x46, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1269,8 +1268,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_ephemeris_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x46, - "Incorrect message type, expected 0x46, is {}", - msg_type + "Incorrect message type, expected 0x46, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1442,8 +1440,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_ephemeris_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x46, - "Incorrect message type, expected 0x46, is {}", - msg_type + "Incorrect message type, expected 0x46, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1615,8 +1612,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_ephemeris_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x46, - "Incorrect message type, expected 0x46, is {}", - msg_type + "Incorrect message type, expected 0x46, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1788,8 +1784,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_ephemeris_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x46, - "Incorrect message type, expected 0x46, is {}", - msg_type + "Incorrect message type, expected 0x46, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1961,8 +1956,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_ephemeris_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x46, - "Incorrect message type, expected 0x46, is {}", - msg_type + "Incorrect message type, expected 0x46, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2163,8 +2157,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_ephemeris_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x46, - "Incorrect message type, expected 0x46, is {}", - msg_type + "Incorrect message type, expected 0x46, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2356,8 +2349,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_ephemeris_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x46, - "Incorrect message type, expected 0x46, is {}", - msg_type + "Incorrect message type, expected 0x46, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2549,8 +2541,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_ephemeris_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x46, - "Incorrect message type, expected 0x46, is {}", - msg_type + "Incorrect message type, expected 0x46, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2742,8 +2733,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_ephemeris_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x46, - "Incorrect message type, expected 0x46, is {}", - msg_type + "Incorrect message type, expected 0x46, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2935,8 +2925,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_ephemeris_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x46, - "Incorrect message type, expected 0x46, is {}", - msg_type + "Incorrect message type, expected 0x46, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -3128,8 +3117,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_ephemeris_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x46, - "Incorrect message type, expected 0x46, is {}", - msg_type + "Incorrect message type, expected 0x46, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_dep_c.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_dep_c.rs index d5bf2021ac..30edd6ca10 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_dep_c.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_dep_c.rs @@ -252,8 +252,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_ephemeris_dep_c() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x47, - "Incorrect message type, expected 0x47, is {}", - msg_type + "Incorrect message type, expected 0x47, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -475,8 +474,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_ephemeris_dep_c() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x47, - "Incorrect message type, expected 0x47, is {}", - msg_type + "Incorrect message type, expected 0x47, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_dep_d.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_dep_d.rs index 4bda3af792..463a942672 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_dep_d.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_dep_d.rs @@ -252,8 +252,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_ephemeris_dep_d() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x80, - "Incorrect message type, expected 0x80, is {}", - msg_type + "Incorrect message type, expected 0x80, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -475,8 +474,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_ephemeris_dep_d() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x80, - "Incorrect message type, expected 0x80, is {}", - msg_type + "Incorrect message type, expected 0x80, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_gal.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_gal.rs index c981ec362e..34c4c96cd7 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_gal.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_gal.rs @@ -260,8 +260,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_ephemeris_gal() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x8d, - "Incorrect message type, expected 0x8d, is {}", - msg_type + "Incorrect message type, expected 0x8d, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -491,8 +490,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_ephemeris_gal() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x8d, - "Incorrect message type, expected 0x8d, is {}", - msg_type + "Incorrect message type, expected 0x8d, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_gal_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_gal_dep_a.rs index c148b665c7..16798332d7 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_gal_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_gal_dep_a.rs @@ -256,8 +256,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_ephemeris_gal_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x95, - "Incorrect message type, expected 0x95, is {}", - msg_type + "Incorrect message type, expected 0x95, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -483,8 +482,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_ephemeris_gal_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x95, - "Incorrect message type, expected 0x95, is {}", - msg_type + "Incorrect message type, expected 0x95, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_glo.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_glo.rs index 1ad72883db..fb92a21861 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_glo.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_glo.rs @@ -202,8 +202,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_ephemeris_glo() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x8b, - "Incorrect message type, expected 0x8b, is {}", - msg_type + "Incorrect message type, expected 0x8b, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -375,8 +374,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_ephemeris_glo() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x8b, - "Incorrect message type, expected 0x8b, is {}", - msg_type + "Incorrect message type, expected 0x8b, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_glo_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_glo_dep_a.rs index 74f85c45d1..d9f2efee9a 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_glo_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_glo_dep_a.rs @@ -193,8 +193,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_ephemeris_glo_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x83, - "Incorrect message type, expected 0x83, is {}", - msg_type + "Incorrect message type, expected 0x83, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -357,8 +356,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_ephemeris_glo_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x83, - "Incorrect message type, expected 0x83, is {}", - msg_type + "Incorrect message type, expected 0x83, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_glo_dep_b.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_glo_dep_b.rs index 5c76954921..e2b4782fe2 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_glo_dep_b.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_glo_dep_b.rs @@ -188,8 +188,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_ephemeris_glo_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x85, - "Incorrect message type, expected 0x85, is {}", - msg_type + "Incorrect message type, expected 0x85, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -347,8 +346,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_ephemeris_glo_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x85, - "Incorrect message type, expected 0x85, is {}", - msg_type + "Incorrect message type, expected 0x85, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_glo_dep_c.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_glo_dep_c.rs index ea8a40b8fa..0368bf76c9 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_glo_dep_c.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_glo_dep_c.rs @@ -198,8 +198,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_ephemeris_glo_dep_c() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x87, - "Incorrect message type, expected 0x87, is {}", - msg_type + "Incorrect message type, expected 0x87, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -367,8 +366,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_ephemeris_glo_dep_c() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x87, - "Incorrect message type, expected 0x87, is {}", - msg_type + "Incorrect message type, expected 0x87, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_glo_dep_d.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_glo_dep_d.rs index 0faa550ff1..b78d982766 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_glo_dep_d.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_glo_dep_d.rs @@ -203,8 +203,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_ephemeris_glo_dep_d() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x88, - "Incorrect message type, expected 0x88, is {}", - msg_type + "Incorrect message type, expected 0x88, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -377,8 +376,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_ephemeris_glo_dep_d() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x88, - "Incorrect message type, expected 0x88, is {}", - msg_type + "Incorrect message type, expected 0x88, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_gps.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_gps.rs index 27d393c22b..ddb8036faa 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_gps.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_gps.rs @@ -250,8 +250,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_ephemeris_gps() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x8a, - "Incorrect message type, expected 0x8a, is {}", - msg_type + "Incorrect message type, expected 0x8a, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -471,8 +470,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_ephemeris_gps() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x8a, - "Incorrect message type, expected 0x8a, is {}", - msg_type + "Incorrect message type, expected 0x8a, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_gps_dep_e.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_gps_dep_e.rs index c44ec431a4..c661b480f7 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_gps_dep_e.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_gps_dep_e.rs @@ -256,8 +256,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_ephemeris_gps_dep_e() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x81, - "Incorrect message type, expected 0x81, is {}", - msg_type + "Incorrect message type, expected 0x81, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -483,8 +482,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_ephemeris_gps_dep_e() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x81, - "Incorrect message type, expected 0x81, is {}", - msg_type + "Incorrect message type, expected 0x81, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_gps_dep_f.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_gps_dep_f.rs index 9d637216e8..29cb385ac3 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_gps_dep_f.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_gps_dep_f.rs @@ -251,8 +251,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_ephemeris_gps_dep_f() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x86, - "Incorrect message type, expected 0x86, is {}", - msg_type + "Incorrect message type, expected 0x86, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -473,8 +472,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_ephemeris_gps_dep_f() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x86, - "Incorrect message type, expected 0x86, is {}", - msg_type + "Incorrect message type, expected 0x86, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_qzss.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_qzss.rs index 8839c7643d..49d2c92b22 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_qzss.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_qzss.rs @@ -250,8 +250,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_ephemeris_qzss() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x8e, - "Incorrect message type, expected 0x8e, is {}", - msg_type + "Incorrect message type, expected 0x8e, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -471,8 +470,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_ephemeris_qzss() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x8e, - "Incorrect message type, expected 0x8e, is {}", - msg_type + "Incorrect message type, expected 0x8e, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_sbas.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_sbas.rs index e3fd88eb44..70b1923633 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_sbas.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_sbas.rs @@ -186,8 +186,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_ephemeris_sbas() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x8c, - "Incorrect message type, expected 0x8c, is {}", - msg_type + "Incorrect message type, expected 0x8c, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -343,8 +342,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_ephemeris_sbas() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x8c, - "Incorrect message type, expected 0x8c, is {}", - msg_type + "Incorrect message type, expected 0x8c, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_sbas_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_sbas_dep_a.rs index 1b8ec28984..bf5583bf60 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_sbas_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_sbas_dep_a.rs @@ -193,8 +193,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_ephemeris_sbas_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x82, - "Incorrect message type, expected 0x82, is {}", - msg_type + "Incorrect message type, expected 0x82, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -357,8 +356,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_ephemeris_sbas_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x82, - "Incorrect message type, expected 0x82, is {}", - msg_type + "Incorrect message type, expected 0x82, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_sbas_dep_b.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_sbas_dep_b.rs index a136ba7beb..6f9d76530a 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_sbas_dep_b.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_ephemeris_sbas_dep_b.rs @@ -188,8 +188,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_ephemeris_sbas_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x84, - "Incorrect message type, expected 0x84, is {}", - msg_type + "Incorrect message type, expected 0x84, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -347,8 +346,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_ephemeris_sbas_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x84, - "Incorrect message type, expected 0x84, is {}", - msg_type + "Incorrect message type, expected 0x84, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_glo_biases.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_glo_biases.rs index 251c33d314..026d8b69b7 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_glo_biases.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_glo_biases.rs @@ -113,8 +113,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_glo_biases() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x75, - "Incorrect message type, expected 0x75, is {}", - msg_type + "Incorrect message type, expected 0x75, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -197,8 +196,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_glo_biases() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x75, - "Incorrect message type, expected 0x75, is {}", - msg_type + "Incorrect message type, expected 0x75, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_gnss_capb.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_gnss_capb.rs index 3470876849..481ba65968 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_gnss_capb.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_gnss_capb.rs @@ -178,8 +178,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_gnss_capb() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x96, - "Incorrect message type, expected 0x96, is {}", - msg_type + "Incorrect message type, expected 0x96, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -327,8 +326,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_gnss_capb() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x96, - "Incorrect message type, expected 0x96, is {}", - msg_type + "Incorrect message type, expected 0x96, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_group_delay.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_group_delay.rs index b6bdb4434f..ed2d72599b 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_group_delay.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_group_delay.rs @@ -129,8 +129,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_group_delay() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x94, - "Incorrect message type, expected 0x94, is {}", - msg_type + "Incorrect message type, expected 0x94, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -229,8 +228,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_group_delay() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x94, - "Incorrect message type, expected 0x94, is {}", - msg_type + "Incorrect message type, expected 0x94, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_group_delay_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_group_delay_dep_a.rs index 357dc0bc42..31f4914dc9 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_group_delay_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_group_delay_dep_a.rs @@ -124,8 +124,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_group_delay_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x92, - "Incorrect message type, expected 0x92, is {}", - msg_type + "Incorrect message type, expected 0x92, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -219,8 +218,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_group_delay_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x92, - "Incorrect message type, expected 0x92, is {}", - msg_type + "Incorrect message type, expected 0x92, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_group_delay_dep_b.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_group_delay_dep_b.rs index 1ea42a015f..9d31cb0acc 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_group_delay_dep_b.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_group_delay_dep_b.rs @@ -134,8 +134,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_group_delay_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x93, - "Incorrect message type, expected 0x93, is {}", - msg_type + "Incorrect message type, expected 0x93, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -239,8 +238,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_group_delay_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x93, - "Incorrect message type, expected 0x93, is {}", - msg_type + "Incorrect message type, expected 0x93, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_iono.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_iono.rs index 998c100807..108d466474 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_iono.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_iono.rs @@ -141,8 +141,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_iono() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x90, - "Incorrect message type, expected 0x90, is {}", - msg_type + "Incorrect message type, expected 0x90, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -253,8 +252,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_iono() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x90, - "Incorrect message type, expected 0x90, is {}", - msg_type + "Incorrect message type, expected 0x90, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_obs.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_obs.rs index df84e85fde..5574283c64 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_obs.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_obs.rs @@ -870,8 +870,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_obs() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x4a, - "Incorrect message type, expected 0x4a, is {}", - msg_type + "Incorrect message type, expected 0x4a, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1628,8 +1627,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_obs() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x4a, - "Incorrect message type, expected 0x4a, is {}", - msg_type + "Incorrect message type, expected 0x4a, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1719,8 +1717,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_obs() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x4a, - "Incorrect message type, expected 0x4a, is {}", - msg_type + "Incorrect message type, expected 0x4a, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2489,8 +2486,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_obs() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x4a, - "Incorrect message type, expected 0x4a, is {}", - msg_type + "Incorrect message type, expected 0x4a, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_obs_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_obs_dep_a.rs index 2044225a1e..2b57050a3c 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_obs_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_obs_dep_a.rs @@ -1128,8 +1128,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_obs_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x45, - "Incorrect message type, expected 0x45, is {}", - msg_type + "Incorrect message type, expected 0x45, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1391,8 +1390,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_obs_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x45, - "Incorrect message type, expected 0x45, is {}", - msg_type + "Incorrect message type, expected 0x45, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1474,8 +1472,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_obs_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x45, - "Incorrect message type, expected 0x45, is {}", - msg_type + "Incorrect message type, expected 0x45, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1737,8 +1734,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_obs_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x45, - "Incorrect message type, expected 0x45, is {}", - msg_type + "Incorrect message type, expected 0x45, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1820,8 +1816,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_obs_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x45, - "Incorrect message type, expected 0x45, is {}", - msg_type + "Incorrect message type, expected 0x45, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2023,8 +2018,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_obs_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x45, - "Incorrect message type, expected 0x45, is {}", - msg_type + "Incorrect message type, expected 0x45, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2252,8 +2246,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_obs_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x45, - "Incorrect message type, expected 0x45, is {}", - msg_type + "Incorrect message type, expected 0x45, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2528,8 +2521,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_obs_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x45, - "Incorrect message type, expected 0x45, is {}", - msg_type + "Incorrect message type, expected 0x45, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2628,8 +2620,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_obs_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x45, - "Incorrect message type, expected 0x45, is {}", - msg_type + "Incorrect message type, expected 0x45, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2904,8 +2895,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_obs_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x45, - "Incorrect message type, expected 0x45, is {}", - msg_type + "Incorrect message type, expected 0x45, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -3003,8 +2993,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_obs_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x45, - "Incorrect message type, expected 0x45, is {}", - msg_type + "Incorrect message type, expected 0x45, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -3222,8 +3211,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_obs_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x45, - "Incorrect message type, expected 0x45, is {}", - msg_type + "Incorrect message type, expected 0x45, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_obs_dep_b.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_obs_dep_b.rs index dd87ad72ed..3d08a8f87b 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_obs_dep_b.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_obs_dep_b.rs @@ -1262,8 +1262,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_obs_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x43, - "Incorrect message type, expected 0x43, is {}", - msg_type + "Incorrect message type, expected 0x43, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1555,8 +1554,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_obs_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x43, - "Incorrect message type, expected 0x43, is {}", - msg_type + "Incorrect message type, expected 0x43, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1728,8 +1726,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_obs_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x43, - "Incorrect message type, expected 0x43, is {}", - msg_type + "Incorrect message type, expected 0x43, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2021,8 +2018,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_obs_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x43, - "Incorrect message type, expected 0x43, is {}", - msg_type + "Incorrect message type, expected 0x43, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2194,8 +2190,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_obs_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x43, - "Incorrect message type, expected 0x43, is {}", - msg_type + "Incorrect message type, expected 0x43, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2513,8 +2508,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_obs_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x43, - "Incorrect message type, expected 0x43, is {}", - msg_type + "Incorrect message type, expected 0x43, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2820,8 +2814,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_obs_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x43, - "Incorrect message type, expected 0x43, is {}", - msg_type + "Incorrect message type, expected 0x43, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -3010,8 +3003,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_obs_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x43, - "Incorrect message type, expected 0x43, is {}", - msg_type + "Incorrect message type, expected 0x43, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -3317,8 +3309,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_obs_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x43, - "Incorrect message type, expected 0x43, is {}", - msg_type + "Incorrect message type, expected 0x43, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -3507,8 +3498,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_obs_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x43, - "Incorrect message type, expected 0x43, is {}", - msg_type + "Incorrect message type, expected 0x43, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_obs_dep_c.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_obs_dep_c.rs index 77e33f47cf..4bcab46ff6 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_obs_dep_c.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_obs_dep_c.rs @@ -1139,8 +1139,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_obs_dep_c() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x49, - "Incorrect message type, expected 0x49, is {}", - msg_type + "Incorrect message type, expected 0x49, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1392,8 +1391,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_obs_dep_c() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x49, - "Incorrect message type, expected 0x49, is {}", - msg_type + "Incorrect message type, expected 0x49, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1565,8 +1563,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_obs_dep_c() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x49, - "Incorrect message type, expected 0x49, is {}", - msg_type + "Incorrect message type, expected 0x49, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1818,8 +1815,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_obs_dep_c() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x49, - "Incorrect message type, expected 0x49, is {}", - msg_type + "Incorrect message type, expected 0x49, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1991,8 +1987,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_obs_dep_c() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x49, - "Incorrect message type, expected 0x49, is {}", - msg_type + "Incorrect message type, expected 0x49, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2269,8 +2264,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_obs_dep_c() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x49, - "Incorrect message type, expected 0x49, is {}", - msg_type + "Incorrect message type, expected 0x49, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2536,8 +2530,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_obs_dep_c() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x49, - "Incorrect message type, expected 0x49, is {}", - msg_type + "Incorrect message type, expected 0x49, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2725,8 +2718,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_obs_dep_c() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x49, - "Incorrect message type, expected 0x49, is {}", - msg_type + "Incorrect message type, expected 0x49, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2992,8 +2984,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_obs_dep_c() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x49, - "Incorrect message type, expected 0x49, is {}", - msg_type + "Incorrect message type, expected 0x49, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -3181,8 +3172,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_obs_dep_c() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x49, - "Incorrect message type, expected 0x49, is {}", - msg_type + "Incorrect message type, expected 0x49, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_osr.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_osr.rs index 22aef4c4fb..a375be86ee 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_osr.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_osr.rs @@ -718,8 +718,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_osr() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x640, - "Incorrect message type, expected 0x640, is {}", - msg_type + "Incorrect message type, expected 0x640, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1407,8 +1406,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_osr() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x640, - "Incorrect message type, expected 0x640, is {}", - msg_type + "Incorrect message type, expected 0x640, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_sv_az_el.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_sv_az_el.rs index b9b79c53cf..7435385bea 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_sv_az_el.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_sv_az_el.rs @@ -754,8 +754,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_sv_az_el() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x97, - "Incorrect message type, expected 0x97, is {}", - msg_type + "Incorrect message type, expected 0x97, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1479,8 +1478,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_sv_az_el() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x97, - "Incorrect message type, expected 0x97, is {}", - msg_type + "Incorrect message type, expected 0x97, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_sv_configuration_gps_dep.rs b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_sv_configuration_gps_dep.rs index b7e29e11e6..3f41a58ca4 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_observation_msg_sv_configuration_gps_dep.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_observation_msg_sv_configuration_gps_dep.rs @@ -103,8 +103,7 @@ fn test_json2sbp_auto_check_sbp_observation_msg_sv_configuration_gps_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x91, - "Incorrect message type, expected 0x91, is {}", - msg_type + "Incorrect message type, expected 0x91, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -177,8 +176,7 @@ fn test_sbp2json_auto_check_sbp_observation_msg_sv_configuration_gps_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x91, - "Incorrect message type, expected 0x91, is {}", - msg_type + "Incorrect message type, expected 0x91, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_orientation_msg_angular_rate.rs b/rust/sbp/tests/integration/auto_check_sbp_orientation_msg_angular_rate.rs index b5fc143cdd..f98da7ac4f 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_orientation_msg_angular_rate.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_orientation_msg_angular_rate.rs @@ -101,8 +101,7 @@ fn test_json2sbp_auto_check_sbp_orientation_msg_angular_rate() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x222, - "Incorrect message type, expected 0x222, is {}", - msg_type + "Incorrect message type, expected 0x222, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -173,8 +172,7 @@ fn test_sbp2json_auto_check_sbp_orientation_msg_angular_rate() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x222, - "Incorrect message type, expected 0x222, is {}", - msg_type + "Incorrect message type, expected 0x222, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_orientation_msg_baseline_heading.rs b/rust/sbp/tests/integration/auto_check_sbp_orientation_msg_baseline_heading.rs index 47b0f7c70f..5bad25035a 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_orientation_msg_baseline_heading.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_orientation_msg_baseline_heading.rs @@ -108,8 +108,7 @@ fn test_json2sbp_auto_check_sbp_orientation_msg_baseline_heading() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20f, - "Incorrect message type, expected 0x20f, is {}", - msg_type + "Incorrect message type, expected 0x20f, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -187,8 +186,7 @@ fn test_sbp2json_auto_check_sbp_orientation_msg_baseline_heading() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x20f, - "Incorrect message type, expected 0x20f, is {}", - msg_type + "Incorrect message type, expected 0x20f, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_orientation_msg_orient_euler.rs b/rust/sbp/tests/integration/auto_check_sbp_orientation_msg_orient_euler.rs index d8258c8306..84ae8b8aba 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_orientation_msg_orient_euler.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_orientation_msg_orient_euler.rs @@ -129,8 +129,7 @@ fn test_json2sbp_auto_check_sbp_orientation_msg_orient_euler() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x221, - "Incorrect message type, expected 0x221, is {}", - msg_type + "Incorrect message type, expected 0x221, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -229,8 +228,7 @@ fn test_sbp2json_auto_check_sbp_orientation_msg_orient_euler() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x221, - "Incorrect message type, expected 0x221, is {}", - msg_type + "Incorrect message type, expected 0x221, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_orientation_msg_orient_quat.rs b/rust/sbp/tests/integration/auto_check_sbp_orientation_msg_orient_quat.rs index d3de2ca89c..8cd63edac8 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_orientation_msg_orient_quat.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_orientation_msg_orient_quat.rs @@ -123,8 +123,7 @@ fn test_json2sbp_auto_check_sbp_orientation_msg_orient_quat() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x220, - "Incorrect message type, expected 0x220, is {}", - msg_type + "Incorrect message type, expected 0x220, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -217,8 +216,7 @@ fn test_sbp2json_auto_check_sbp_orientation_msg_orient_quat() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x220, - "Incorrect message type, expected 0x220, is {}", - msg_type + "Incorrect message type, expected 0x220, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_almanac.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_almanac.rs index 2955910afd..27e8b130e1 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_almanac.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_almanac.rs @@ -88,8 +88,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_almanac() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x69, - "Incorrect message type, expected 0x69, is {}", - msg_type + "Incorrect message type, expected 0x69, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -145,8 +144,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_almanac() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x69, - "Incorrect message type, expected 0x69, is {}", - msg_type + "Incorrect message type, expected 0x69, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_cell_modem_status.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_cell_modem_status.rs index 25095ec346..c4e3e12c4c 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_cell_modem_status.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_cell_modem_status.rs @@ -1357,8 +1357,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_cell_modem_status() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xbe, - "Incorrect message type, expected 0xbe, is {}", - msg_type + "Incorrect message type, expected 0xbe, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2685,8 +2684,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_cell_modem_status() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xbe, - "Incorrect message type, expected 0xbe, is {}", - msg_type + "Incorrect message type, expected 0xbe, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_command_output.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_command_output.rs index 1f65861414..7cfe265a35 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_command_output.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_command_output.rs @@ -101,8 +101,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_command_output() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xbc, - "Incorrect message type, expected 0xbc, is {}", - msg_type + "Incorrect message type, expected 0xbc, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -173,8 +172,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_command_output() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xbc, - "Incorrect message type, expected 0xbc, is {}", - msg_type + "Incorrect message type, expected 0xbc, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_command_req.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_command_req.rs index 0ea755b6c1..0f474af3c7 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_command_req.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_command_req.rs @@ -108,8 +108,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_command_req() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xb8, - "Incorrect message type, expected 0xb8, is {}", - msg_type + "Incorrect message type, expected 0xb8, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -187,8 +186,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_command_req() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xb8, - "Incorrect message type, expected 0xb8, is {}", - msg_type + "Incorrect message type, expected 0xb8, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_command_resp.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_command_resp.rs index 99b3eb486f..149f14acb9 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_command_resp.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_command_resp.rs @@ -98,8 +98,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_command_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xb9, - "Incorrect message type, expected 0xb9, is {}", - msg_type + "Incorrect message type, expected 0xb9, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -167,8 +166,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_command_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xb9, - "Incorrect message type, expected 0xb9, is {}", - msg_type + "Incorrect message type, expected 0xb9, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_cw_results.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_cw_results.rs index 5ed12f0ca7..7cd11b34d8 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_cw_results.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_cw_results.rs @@ -88,8 +88,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_cw_results() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xc0, - "Incorrect message type, expected 0xc0, is {}", - msg_type + "Incorrect message type, expected 0xc0, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -145,8 +144,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_cw_results() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xc0, - "Incorrect message type, expected 0xc0, is {}", - msg_type + "Incorrect message type, expected 0xc0, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_cw_start.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_cw_start.rs index f0ca3317a5..42f0767047 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_cw_start.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_cw_start.rs @@ -88,8 +88,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_cw_start() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xc1, - "Incorrect message type, expected 0xc1, is {}", - msg_type + "Incorrect message type, expected 0xc1, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -145,8 +144,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_cw_start() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xc1, - "Incorrect message type, expected 0xc1, is {}", - msg_type + "Incorrect message type, expected 0xc1, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_device_monitor.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_device_monitor.rs index e4b2cc4295..76cb7742de 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_device_monitor.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_device_monitor.rs @@ -333,8 +333,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_device_monitor() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xb5, - "Incorrect message type, expected 0xb5, is {}", - msg_type + "Incorrect message type, expected 0xb5, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -396,8 +395,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_device_monitor() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xb5, - "Incorrect message type, expected 0xb5, is {}", - msg_type + "Incorrect message type, expected 0xb5, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -459,8 +457,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_device_monitor() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xb5, - "Incorrect message type, expected 0xb5, is {}", - msg_type + "Incorrect message type, expected 0xb5, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -522,8 +519,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_device_monitor() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xb5, - "Incorrect message type, expected 0xb5, is {}", - msg_type + "Incorrect message type, expected 0xb5, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -585,8 +581,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_device_monitor() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xb5, - "Incorrect message type, expected 0xb5, is {}", - msg_type + "Incorrect message type, expected 0xb5, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -669,8 +664,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_device_monitor() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xb5, - "Incorrect message type, expected 0xb5, is {}", - msg_type + "Incorrect message type, expected 0xb5, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -744,8 +738,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_device_monitor() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xb5, - "Incorrect message type, expected 0xb5, is {}", - msg_type + "Incorrect message type, expected 0xb5, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -819,8 +812,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_device_monitor() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xb5, - "Incorrect message type, expected 0xb5, is {}", - msg_type + "Incorrect message type, expected 0xb5, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -894,8 +886,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_device_monitor() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xb5, - "Incorrect message type, expected 0xb5, is {}", - msg_type + "Incorrect message type, expected 0xb5, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -969,8 +960,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_device_monitor() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xb5, - "Incorrect message type, expected 0xb5, is {}", - msg_type + "Incorrect message type, expected 0xb5, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_front_end_gain.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_front_end_gain.rs index 058bc344cf..8624241f98 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_front_end_gain.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_front_end_gain.rs @@ -169,8 +169,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_front_end_gain() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xbf, - "Incorrect message type, expected 0xbf, is {}", - msg_type + "Incorrect message type, expected 0xbf, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -309,8 +308,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_front_end_gain() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xbf, - "Incorrect message type, expected 0xbf, is {}", - msg_type + "Incorrect message type, expected 0xbf, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_iar_state.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_iar_state.rs index a4aee35187..9f29fa62fc 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_iar_state.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_iar_state.rs @@ -289,8 +289,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_iar_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x19, - "Incorrect message type, expected 0x19, is {}", - msg_type + "Incorrect message type, expected 0x19, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -332,8 +331,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_iar_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x19, - "Incorrect message type, expected 0x19, is {}", - msg_type + "Incorrect message type, expected 0x19, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -375,8 +373,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_iar_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x19, - "Incorrect message type, expected 0x19, is {}", - msg_type + "Incorrect message type, expected 0x19, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -418,8 +415,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_iar_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x19, - "Incorrect message type, expected 0x19, is {}", - msg_type + "Incorrect message type, expected 0x19, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -461,8 +457,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_iar_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x19, - "Incorrect message type, expected 0x19, is {}", - msg_type + "Incorrect message type, expected 0x19, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -504,8 +499,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_iar_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x19, - "Incorrect message type, expected 0x19, is {}", - msg_type + "Incorrect message type, expected 0x19, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -547,8 +541,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_iar_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x19, - "Incorrect message type, expected 0x19, is {}", - msg_type + "Incorrect message type, expected 0x19, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -609,8 +602,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_iar_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x19, - "Incorrect message type, expected 0x19, is {}", - msg_type + "Incorrect message type, expected 0x19, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -662,8 +654,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_iar_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x19, - "Incorrect message type, expected 0x19, is {}", - msg_type + "Incorrect message type, expected 0x19, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -715,8 +706,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_iar_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x19, - "Incorrect message type, expected 0x19, is {}", - msg_type + "Incorrect message type, expected 0x19, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -768,8 +758,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_iar_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x19, - "Incorrect message type, expected 0x19, is {}", - msg_type + "Incorrect message type, expected 0x19, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -821,8 +810,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_iar_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x19, - "Incorrect message type, expected 0x19, is {}", - msg_type + "Incorrect message type, expected 0x19, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -874,8 +862,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_iar_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x19, - "Incorrect message type, expected 0x19, is {}", - msg_type + "Incorrect message type, expected 0x19, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -927,8 +914,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_iar_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x19, - "Incorrect message type, expected 0x19, is {}", - msg_type + "Incorrect message type, expected 0x19, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_init_base_dep.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_init_base_dep.rs index 22462cc6c4..55d97fe5aa 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_init_base_dep.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_init_base_dep.rs @@ -88,8 +88,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_init_base_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x23, - "Incorrect message type, expected 0x23, is {}", - msg_type + "Incorrect message type, expected 0x23, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -145,8 +144,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_init_base_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x23, - "Incorrect message type, expected 0x23, is {}", - msg_type + "Incorrect message type, expected 0x23, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_mask_satellite.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_mask_satellite.rs index 7a60481f1f..e36cd5ebd1 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_mask_satellite.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_mask_satellite.rs @@ -101,8 +101,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_mask_satellite() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x2b, - "Incorrect message type, expected 0x2b, is {}", - msg_type + "Incorrect message type, expected 0x2b, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -173,8 +172,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_mask_satellite() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x2b, - "Incorrect message type, expected 0x2b, is {}", - msg_type + "Incorrect message type, expected 0x2b, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_mask_satellite_dep.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_mask_satellite_dep.rs index 867cbc48f6..3ca0a9dbf1 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_mask_satellite_dep.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_mask_satellite_dep.rs @@ -106,8 +106,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_mask_satellite_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x1b, - "Incorrect message type, expected 0x1b, is {}", - msg_type + "Incorrect message type, expected 0x1b, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -183,8 +182,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_mask_satellite_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x1b, - "Incorrect message type, expected 0x1b, is {}", - msg_type + "Incorrect message type, expected 0x1b, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_network_bandwidth_usage.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_network_bandwidth_usage.rs index 58885a34ff..9a38d02961 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_network_bandwidth_usage.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_network_bandwidth_usage.rs @@ -201,8 +201,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_network_bandwidth_usage() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xBD, - "Incorrect message type, expected 0xBD, is {}", - msg_type + "Incorrect message type, expected 0xBD, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -373,8 +372,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_network_bandwidth_usage() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xBD, - "Incorrect message type, expected 0xBD, is {}", - msg_type + "Incorrect message type, expected 0xBD, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_network_state_req.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_network_state_req.rs index 78d2d8dd3b..417053d50d 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_network_state_req.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_network_state_req.rs @@ -88,8 +88,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_network_state_req() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xba, - "Incorrect message type, expected 0xba, is {}", - msg_type + "Incorrect message type, expected 0xba, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -145,8 +144,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_network_state_req() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xba, - "Incorrect message type, expected 0xba, is {}", - msg_type + "Incorrect message type, expected 0xba, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_network_state_resp.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_network_state_resp.rs index 3a9aa24ee8..473393b8cc 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_network_state_resp.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_network_state_resp.rs @@ -222,8 +222,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_network_state_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xbb, - "Incorrect message type, expected 0xbb, is {}", - msg_type + "Incorrect message type, expected 0xbb, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -415,8 +414,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_network_state_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xbb, - "Incorrect message type, expected 0xbb, is {}", - msg_type + "Incorrect message type, expected 0xbb, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_reset.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_reset.rs index f5adee7cc2..66dd3c48e7 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_reset.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_reset.rs @@ -91,8 +91,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_reset() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xb6, - "Incorrect message type, expected 0xb6, is {}", - msg_type + "Incorrect message type, expected 0xb6, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -153,8 +152,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_reset() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xb6, - "Incorrect message type, expected 0xb6, is {}", - msg_type + "Incorrect message type, expected 0xb6, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_reset_dep.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_reset_dep.rs index 74470bb6fb..d7d2e3028d 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_reset_dep.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_reset_dep.rs @@ -88,8 +88,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_reset_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xb2, - "Incorrect message type, expected 0xb2, is {}", - msg_type + "Incorrect message type, expected 0xb2, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -145,8 +144,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_reset_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xb2, - "Incorrect message type, expected 0xb2, is {}", - msg_type + "Incorrect message type, expected 0xb2, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_reset_filters.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_reset_filters.rs index fa0abc5ee3..b44da40d4a 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_reset_filters.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_reset_filters.rs @@ -91,8 +91,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_reset_filters() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x22, - "Incorrect message type, expected 0x22, is {}", - msg_type + "Incorrect message type, expected 0x22, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -153,8 +152,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_reset_filters() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x22, - "Incorrect message type, expected 0x22, is {}", - msg_type + "Incorrect message type, expected 0x22, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_set_time.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_set_time.rs index 8d2b1b5fd4..618cd301ff 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_set_time.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_set_time.rs @@ -88,8 +88,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_set_time() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x68, - "Incorrect message type, expected 0x68, is {}", - msg_type + "Incorrect message type, expected 0x68, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -145,8 +144,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_set_time() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x68, - "Incorrect message type, expected 0x68, is {}", - msg_type + "Incorrect message type, expected 0x68, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_specan.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_specan.rs index 659db68b34..7f35852678 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_specan.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_specan.rs @@ -1276,8 +1276,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_specan() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x51, - "Incorrect message type, expected 0x51, is {}", - msg_type + "Incorrect message type, expected 0x51, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2523,8 +2522,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_specan() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x51, - "Incorrect message type, expected 0x51, is {}", - msg_type + "Incorrect message type, expected 0x51, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_specan_dep.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_specan_dep.rs index abfa4fe270..60840b7013 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_specan_dep.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_specan_dep.rs @@ -1291,8 +1291,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_specan_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x50, - "Incorrect message type, expected 0x50, is {}", - msg_type + "Incorrect message type, expected 0x50, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2553,8 +2552,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_specan_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x50, - "Incorrect message type, expected 0x50, is {}", - msg_type + "Incorrect message type, expected 0x50, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_thread_state.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_thread_state.rs index 6602183b3e..a69095df7e 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_thread_state.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_thread_state.rs @@ -592,8 +592,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_thread_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x17, - "Incorrect message type, expected 0x17, is {}", - msg_type + "Incorrect message type, expected 0x17, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -647,8 +646,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_thread_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x17, - "Incorrect message type, expected 0x17, is {}", - msg_type + "Incorrect message type, expected 0x17, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -702,8 +700,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_thread_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x17, - "Incorrect message type, expected 0x17, is {}", - msg_type + "Incorrect message type, expected 0x17, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -757,8 +754,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_thread_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x17, - "Incorrect message type, expected 0x17, is {}", - msg_type + "Incorrect message type, expected 0x17, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -812,8 +808,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_thread_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x17, - "Incorrect message type, expected 0x17, is {}", - msg_type + "Incorrect message type, expected 0x17, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -867,8 +862,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_thread_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x17, - "Incorrect message type, expected 0x17, is {}", - msg_type + "Incorrect message type, expected 0x17, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -922,8 +916,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_thread_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x17, - "Incorrect message type, expected 0x17, is {}", - msg_type + "Incorrect message type, expected 0x17, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -977,8 +970,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_thread_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x17, - "Incorrect message type, expected 0x17, is {}", - msg_type + "Incorrect message type, expected 0x17, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1032,8 +1024,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_thread_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x17, - "Incorrect message type, expected 0x17, is {}", - msg_type + "Incorrect message type, expected 0x17, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1087,8 +1078,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_thread_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x17, - "Incorrect message type, expected 0x17, is {}", - msg_type + "Incorrect message type, expected 0x17, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1142,8 +1132,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_thread_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x17, - "Incorrect message type, expected 0x17, is {}", - msg_type + "Incorrect message type, expected 0x17, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1225,8 +1214,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_thread_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x17, - "Incorrect message type, expected 0x17, is {}", - msg_type + "Incorrect message type, expected 0x17, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1293,8 +1281,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_thread_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x17, - "Incorrect message type, expected 0x17, is {}", - msg_type + "Incorrect message type, expected 0x17, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1361,8 +1348,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_thread_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x17, - "Incorrect message type, expected 0x17, is {}", - msg_type + "Incorrect message type, expected 0x17, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1429,8 +1415,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_thread_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x17, - "Incorrect message type, expected 0x17, is {}", - msg_type + "Incorrect message type, expected 0x17, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1497,8 +1482,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_thread_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x17, - "Incorrect message type, expected 0x17, is {}", - msg_type + "Incorrect message type, expected 0x17, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1565,8 +1549,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_thread_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x17, - "Incorrect message type, expected 0x17, is {}", - msg_type + "Incorrect message type, expected 0x17, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1633,8 +1616,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_thread_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x17, - "Incorrect message type, expected 0x17, is {}", - msg_type + "Incorrect message type, expected 0x17, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1701,8 +1683,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_thread_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x17, - "Incorrect message type, expected 0x17, is {}", - msg_type + "Incorrect message type, expected 0x17, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1769,8 +1750,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_thread_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x17, - "Incorrect message type, expected 0x17, is {}", - msg_type + "Incorrect message type, expected 0x17, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1837,8 +1817,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_thread_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x17, - "Incorrect message type, expected 0x17, is {}", - msg_type + "Incorrect message type, expected 0x17, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1905,8 +1884,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_thread_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x17, - "Incorrect message type, expected 0x17, is {}", - msg_type + "Incorrect message type, expected 0x17, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_uart_state.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_uart_state.rs index aca6c7c47a..37d22d6690 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_uart_state.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_uart_state.rs @@ -434,8 +434,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_uart_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x1d, - "Incorrect message type, expected 0x1d, is {}", - msg_type + "Incorrect message type, expected 0x1d, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -578,8 +577,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_uart_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x18, - "Incorrect message type, expected 0x18, is {}", - msg_type + "Incorrect message type, expected 0x18, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -702,8 +700,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_uart_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x18, - "Incorrect message type, expected 0x18, is {}", - msg_type + "Incorrect message type, expected 0x18, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -851,8 +848,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_uart_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x1d, - "Incorrect message type, expected 0x1d, is {}", - msg_type + "Incorrect message type, expected 0x1d, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1009,8 +1005,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_uart_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x18, - "Incorrect message type, expected 0x18, is {}", - msg_type + "Incorrect message type, expected 0x18, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1147,8 +1142,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_uart_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x18, - "Incorrect message type, expected 0x18, is {}", - msg_type + "Incorrect message type, expected 0x18, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_uart_state_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_uart_state_dep_a.rs index bd553177de..628d128a94 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_uart_state_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_uart_state_dep_a.rs @@ -766,8 +766,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_uart_state_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x18, - "Incorrect message type, expected 0x18, is {}", - msg_type + "Incorrect message type, expected 0x18, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -890,8 +889,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_uart_state_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x18, - "Incorrect message type, expected 0x18, is {}", - msg_type + "Incorrect message type, expected 0x18, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1014,8 +1012,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_uart_state_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x18, - "Incorrect message type, expected 0x18, is {}", - msg_type + "Incorrect message type, expected 0x18, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1138,8 +1135,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_uart_state_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x18, - "Incorrect message type, expected 0x18, is {}", - msg_type + "Incorrect message type, expected 0x18, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1262,8 +1258,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_uart_state_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x18, - "Incorrect message type, expected 0x18, is {}", - msg_type + "Incorrect message type, expected 0x18, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1386,8 +1381,7 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_uart_state_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x18, - "Incorrect message type, expected 0x18, is {}", - msg_type + "Incorrect message type, expected 0x18, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1533,8 +1527,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_uart_state_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x18, - "Incorrect message type, expected 0x18, is {}", - msg_type + "Incorrect message type, expected 0x18, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1671,8 +1664,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_uart_state_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x18, - "Incorrect message type, expected 0x18, is {}", - msg_type + "Incorrect message type, expected 0x18, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1809,8 +1801,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_uart_state_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x18, - "Incorrect message type, expected 0x18, is {}", - msg_type + "Incorrect message type, expected 0x18, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1947,8 +1938,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_uart_state_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x18, - "Incorrect message type, expected 0x18, is {}", - msg_type + "Incorrect message type, expected 0x18, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2085,8 +2075,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_uart_state_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x18, - "Incorrect message type, expected 0x18, is {}", - msg_type + "Incorrect message type, expected 0x18, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2223,8 +2212,7 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_uart_state_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x18, - "Incorrect message type, expected 0x18, is {}", - msg_type + "Incorrect message type, expected 0x18, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_profiling_msg_measurement_point.rs b/rust/sbp/tests/integration/auto_check_sbp_profiling_msg_measurement_point.rs index 7444818646..48af07d3db 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_profiling_msg_measurement_point.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_profiling_msg_measurement_point.rs @@ -137,8 +137,7 @@ fn test_json2sbp_auto_check_sbp_profiling_msg_measurement_point() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xCF00, - "Incorrect message type, expected 0xCF00, is {}", - msg_type + "Incorrect message type, expected 0xCF00, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -245,8 +244,7 @@ fn test_sbp2json_auto_check_sbp_profiling_msg_measurement_point() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xCF00, - "Incorrect message type, expected 0xCF00, is {}", - msg_type + "Incorrect message type, expected 0xCF00, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_profiling_msg_profiling_resource_counter.rs b/rust/sbp/tests/integration/auto_check_sbp_profiling_msg_profiling_resource_counter.rs index b34f61d8a0..a4976f4f9d 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_profiling_msg_profiling_resource_counter.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_profiling_msg_profiling_resource_counter.rs @@ -403,8 +403,7 @@ fn test_json2sbp_auto_check_sbp_profiling_msg_profiling_resource_counter() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xcf03, - "Incorrect message type, expected 0xcf03, is {}", - msg_type + "Incorrect message type, expected 0xcf03, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -776,8 +775,7 @@ fn test_sbp2json_auto_check_sbp_profiling_msg_profiling_resource_counter() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xcf03, - "Incorrect message type, expected 0xcf03, is {}", - msg_type + "Incorrect message type, expected 0xcf03, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_profiling_msg_profiling_system_info.rs b/rust/sbp/tests/integration/auto_check_sbp_profiling_msg_profiling_system_info.rs index 02277596f7..712bdd570e 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_profiling_msg_profiling_system_info.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_profiling_msg_profiling_system_info.rs @@ -110,8 +110,7 @@ fn test_json2sbp_auto_check_sbp_profiling_msg_profiling_system_info() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xcf01, - "Incorrect message type, expected 0xcf01, is {}", - msg_type + "Incorrect message type, expected 0xcf01, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -190,8 +189,7 @@ fn test_sbp2json_auto_check_sbp_profiling_msg_profiling_system_info() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xcf01, - "Incorrect message type, expected 0xcf01, is {}", - msg_type + "Incorrect message type, expected 0xcf01, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_profiling_msg_profiling_thread_info.rs b/rust/sbp/tests/integration/auto_check_sbp_profiling_msg_profiling_thread_info.rs index 7c11ae9864..b3222938a7 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_profiling_msg_profiling_thread_info.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_profiling_msg_profiling_thread_info.rs @@ -123,8 +123,7 @@ fn test_json2sbp_auto_check_sbp_profiling_msg_profiling_thread_info() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xcf02, - "Incorrect message type, expected 0xcf02, is {}", - msg_type + "Incorrect message type, expected 0xcf02, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -216,8 +215,7 @@ fn test_sbp2json_auto_check_sbp_profiling_msg_profiling_thread_info() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xcf02, - "Incorrect message type, expected 0xcf02, is {}", - msg_type + "Incorrect message type, expected 0xcf02, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_sbas_msg_sbas_raw.rs b/rust/sbp/tests/integration/auto_check_sbp_sbas_msg_sbas_raw.rs index 7bf635b335..3ced9f40e8 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_sbas_msg_sbas_raw.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_sbas_msg_sbas_raw.rs @@ -245,8 +245,7 @@ fn test_json2sbp_auto_check_sbp_sbas_msg_sbas_raw() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x7777, - "Incorrect message type, expected 0x7777, is {}", - msg_type + "Incorrect message type, expected 0x7777, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -461,8 +460,7 @@ fn test_sbp2json_auto_check_sbp_sbas_msg_sbas_raw() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x7777, - "Incorrect message type, expected 0x7777, is {}", - msg_type + "Incorrect message type, expected 0x7777, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_read_by_index_done.rs b/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_read_by_index_done.rs index c2dcdee715..146280bcc6 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_read_by_index_done.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_read_by_index_done.rs @@ -86,8 +86,7 @@ fn test_json2sbp_auto_check_sbp_settings_msg_settings_read_by_index_done() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xa6, - "Incorrect message type, expected 0xa6, is {}", - msg_type + "Incorrect message type, expected 0xa6, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -143,8 +142,7 @@ fn test_sbp2json_auto_check_sbp_settings_msg_settings_read_by_index_done() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xa6, - "Incorrect message type, expected 0xa6, is {}", - msg_type + "Incorrect message type, expected 0xa6, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_read_by_index_req.rs b/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_read_by_index_req.rs index c10a9f4790..d726749fdf 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_read_by_index_req.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_read_by_index_req.rs @@ -91,8 +91,7 @@ fn test_json2sbp_auto_check_sbp_settings_msg_settings_read_by_index_req() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xa2, - "Incorrect message type, expected 0xa2, is {}", - msg_type + "Incorrect message type, expected 0xa2, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -153,8 +152,7 @@ fn test_sbp2json_auto_check_sbp_settings_msg_settings_read_by_index_req() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xa2, - "Incorrect message type, expected 0xa2, is {}", - msg_type + "Incorrect message type, expected 0xa2, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_read_by_index_resp.rs b/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_read_by_index_resp.rs index b88aba48a0..f311b653c1 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_read_by_index_resp.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_read_by_index_resp.rs @@ -315,8 +315,7 @@ fn test_json2sbp_auto_check_sbp_settings_msg_settings_read_by_index_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xa7, - "Incorrect message type, expected 0xa7, is {}", - msg_type + "Incorrect message type, expected 0xa7, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -377,8 +376,7 @@ fn test_json2sbp_auto_check_sbp_settings_msg_settings_read_by_index_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xa7, - "Incorrect message type, expected 0xa7, is {}", - msg_type + "Incorrect message type, expected 0xa7, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -433,8 +431,7 @@ fn test_json2sbp_auto_check_sbp_settings_msg_settings_read_by_index_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xa7, - "Incorrect message type, expected 0xa7, is {}", - msg_type + "Incorrect message type, expected 0xa7, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -489,8 +486,7 @@ fn test_json2sbp_auto_check_sbp_settings_msg_settings_read_by_index_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xa7, - "Incorrect message type, expected 0xa7, is {}", - msg_type + "Incorrect message type, expected 0xa7, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -545,8 +541,7 @@ fn test_json2sbp_auto_check_sbp_settings_msg_settings_read_by_index_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xa7, - "Incorrect message type, expected 0xa7, is {}", - msg_type + "Incorrect message type, expected 0xa7, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -626,8 +621,7 @@ fn test_sbp2json_auto_check_sbp_settings_msg_settings_read_by_index_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xa7, - "Incorrect message type, expected 0xa7, is {}", - msg_type + "Incorrect message type, expected 0xa7, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -702,8 +696,7 @@ fn test_sbp2json_auto_check_sbp_settings_msg_settings_read_by_index_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xa7, - "Incorrect message type, expected 0xa7, is {}", - msg_type + "Incorrect message type, expected 0xa7, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -772,8 +765,7 @@ fn test_sbp2json_auto_check_sbp_settings_msg_settings_read_by_index_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xa7, - "Incorrect message type, expected 0xa7, is {}", - msg_type + "Incorrect message type, expected 0xa7, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -841,8 +833,7 @@ fn test_sbp2json_auto_check_sbp_settings_msg_settings_read_by_index_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xa7, - "Incorrect message type, expected 0xa7, is {}", - msg_type + "Incorrect message type, expected 0xa7, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -911,8 +902,7 @@ fn test_sbp2json_auto_check_sbp_settings_msg_settings_read_by_index_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xa7, - "Incorrect message type, expected 0xa7, is {}", - msg_type + "Incorrect message type, expected 0xa7, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_read_req.rs b/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_read_req.rs index 2bd0e0cd91..3094b868f7 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_read_req.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_read_req.rs @@ -102,8 +102,7 @@ fn test_json2sbp_auto_check_sbp_settings_msg_settings_read_req() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xa4, - "Incorrect message type, expected 0xa4, is {}", - msg_type + "Incorrect message type, expected 0xa4, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -175,8 +174,7 @@ fn test_sbp2json_auto_check_sbp_settings_msg_settings_read_req() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xa4, - "Incorrect message type, expected 0xa4, is {}", - msg_type + "Incorrect message type, expected 0xa4, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_read_resp.rs b/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_read_resp.rs index cd5ee2f1c3..50cd7f330b 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_read_resp.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_read_resp.rs @@ -110,8 +110,7 @@ fn test_json2sbp_auto_check_sbp_settings_msg_settings_read_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xa5, - "Incorrect message type, expected 0xa5, is {}", - msg_type + "Incorrect message type, expected 0xa5, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -191,8 +190,7 @@ fn test_sbp2json_auto_check_sbp_settings_msg_settings_read_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xa5, - "Incorrect message type, expected 0xa5, is {}", - msg_type + "Incorrect message type, expected 0xa5, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_register.rs b/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_register.rs index 124247d18a..7ebe6bebcd 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_register.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_register.rs @@ -110,8 +110,7 @@ fn test_json2sbp_auto_check_sbp_settings_msg_settings_register() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xae, - "Incorrect message type, expected 0xae, is {}", - msg_type + "Incorrect message type, expected 0xae, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -191,8 +190,7 @@ fn test_sbp2json_auto_check_sbp_settings_msg_settings_register() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xae, - "Incorrect message type, expected 0xae, is {}", - msg_type + "Incorrect message type, expected 0xae, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_register_resp.rs b/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_register_resp.rs index 7751fd0a74..4b5f488b81 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_register_resp.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_register_resp.rs @@ -116,8 +116,7 @@ fn test_json2sbp_auto_check_sbp_settings_msg_settings_register_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x1af, - "Incorrect message type, expected 0x1af, is {}", - msg_type + "Incorrect message type, expected 0x1af, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -203,8 +202,7 @@ fn test_sbp2json_auto_check_sbp_settings_msg_settings_register_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x1af, - "Incorrect message type, expected 0x1af, is {}", - msg_type + "Incorrect message type, expected 0x1af, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_save.rs b/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_save.rs index 772f121361..e8443728bc 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_save.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_save.rs @@ -88,8 +88,7 @@ fn test_json2sbp_auto_check_sbp_settings_msg_settings_save() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xa1, - "Incorrect message type, expected 0xa1, is {}", - msg_type + "Incorrect message type, expected 0xa1, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -145,8 +144,7 @@ fn test_sbp2json_auto_check_sbp_settings_msg_settings_save() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xa1, - "Incorrect message type, expected 0xa1, is {}", - msg_type + "Incorrect message type, expected 0xa1, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_write.rs b/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_write.rs index 8cbfa8f340..2d3a0d984e 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_write.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_write.rs @@ -105,8 +105,7 @@ fn test_json2sbp_auto_check_sbp_settings_msg_settings_write() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xa0, - "Incorrect message type, expected 0xa0, is {}", - msg_type + "Incorrect message type, expected 0xa0, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -181,8 +180,7 @@ fn test_sbp2json_auto_check_sbp_settings_msg_settings_write() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xa0, - "Incorrect message type, expected 0xa0, is {}", - msg_type + "Incorrect message type, expected 0xa0, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_write_resp.rs b/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_write_resp.rs index 2b4bc06eb0..1e6f5091e5 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_write_resp.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_settings_msg_settings_write_resp.rs @@ -115,8 +115,7 @@ fn test_json2sbp_auto_check_sbp_settings_msg_settings_write_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xaf, - "Incorrect message type, expected 0xaf, is {}", - msg_type + "Incorrect message type, expected 0xaf, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -201,8 +200,7 @@ fn test_sbp2json_auto_check_sbp_settings_msg_settings_write_resp() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xaf, - "Incorrect message type, expected 0xaf, is {}", - msg_type + "Incorrect message type, expected 0xaf, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_signing_msg_aes_cmac_signature.rs b/rust/sbp/tests/integration/auto_check_sbp_signing_msg_aes_cmac_signature.rs index 5d9708e2bb..c770a6a9e2 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_signing_msg_aes_cmac_signature.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_signing_msg_aes_cmac_signature.rs @@ -219,8 +219,7 @@ fn test_json2sbp_auto_check_sbp_signing_msg_aes_cmac_signature() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xC10, - "Incorrect message type, expected 0xC10, is {}", - msg_type + "Incorrect message type, expected 0xC10, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -409,8 +408,7 @@ fn test_sbp2json_auto_check_sbp_signing_msg_aes_cmac_signature() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xC10, - "Incorrect message type, expected 0xC10, is {}", - msg_type + "Incorrect message type, expected 0xC10, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_signing_msg_certificate_chain.rs b/rust/sbp/tests/integration/auto_check_sbp_signing_msg_certificate_chain.rs index 0e5501838b..8cd2ebcde3 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_signing_msg_certificate_chain.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_signing_msg_certificate_chain.rs @@ -794,8 +794,7 @@ fn test_json2sbp_auto_check_sbp_signing_msg_certificate_chain() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xC09, - "Incorrect message type, expected 0xC09, is {}", - msg_type + "Incorrect message type, expected 0xC09, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1559,8 +1558,7 @@ fn test_sbp2json_auto_check_sbp_signing_msg_certificate_chain() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xC09, - "Incorrect message type, expected 0xC09, is {}", - msg_type + "Incorrect message type, expected 0xC09, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_signing_msg_certificate_chain_dep.rs b/rust/sbp/tests/integration/auto_check_sbp_signing_msg_certificate_chain_dep.rs index a624bc05f7..b8c24f25b6 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_signing_msg_certificate_chain_dep.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_signing_msg_certificate_chain_dep.rs @@ -748,8 +748,7 @@ fn test_json2sbp_auto_check_sbp_signing_msg_certificate_chain_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xC05, - "Incorrect message type, expected 0xC05, is {}", - msg_type + "Incorrect message type, expected 0xC05, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1467,8 +1466,7 @@ fn test_sbp2json_auto_check_sbp_signing_msg_certificate_chain_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xC05, - "Incorrect message type, expected 0xC05, is {}", - msg_type + "Incorrect message type, expected 0xC05, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ecdsa_certificate.rs b/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ecdsa_certificate.rs index 891d8f0106..a5ae61cb51 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ecdsa_certificate.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ecdsa_certificate.rs @@ -1366,8 +1366,7 @@ fn test_json2sbp_auto_check_sbp_signing_msg_ecdsa_certificate() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xC04, - "Incorrect message type, expected 0xC04, is {}", - msg_type + "Incorrect message type, expected 0xC04, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2703,8 +2702,7 @@ fn test_sbp2json_auto_check_sbp_signing_msg_ecdsa_certificate() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xC04, - "Incorrect message type, expected 0xC04, is {}", - msg_type + "Incorrect message type, expected 0xC04, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ecdsa_signature.rs b/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ecdsa_signature.rs index b7cb640cde..5e86db9801 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ecdsa_signature.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ecdsa_signature.rs @@ -506,8 +506,7 @@ fn test_json2sbp_auto_check_sbp_signing_msg_ecdsa_signature() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xC08, - "Incorrect message type, expected 0xC08, is {}", - msg_type + "Incorrect message type, expected 0xC08, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -983,8 +982,7 @@ fn test_sbp2json_auto_check_sbp_signing_msg_ecdsa_signature() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xC08, - "Incorrect message type, expected 0xC08, is {}", - msg_type + "Incorrect message type, expected 0xC08, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ecdsa_signature_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ecdsa_signature_dep_a.rs index cf8f39cb80..f93d3ebb35 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ecdsa_signature_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ecdsa_signature_dep_a.rs @@ -1375,8 +1375,7 @@ fn test_json2sbp_auto_check_sbp_signing_msg_ecdsa_signature_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xC06, - "Incorrect message type, expected 0xC06, is {}", - msg_type + "Incorrect message type, expected 0xC06, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2721,8 +2720,7 @@ fn test_sbp2json_auto_check_sbp_signing_msg_ecdsa_signature_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xC06, - "Incorrect message type, expected 0xC06, is {}", - msg_type + "Incorrect message type, expected 0xC06, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ecdsa_signature_dep_b.rs b/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ecdsa_signature_dep_b.rs index 2d025f82bd..0b57e1f6b6 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ecdsa_signature_dep_b.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ecdsa_signature_dep_b.rs @@ -506,8 +506,7 @@ fn test_json2sbp_auto_check_sbp_signing_msg_ecdsa_signature_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xC07, - "Incorrect message type, expected 0xC07, is {}", - msg_type + "Incorrect message type, expected 0xC07, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -983,8 +982,7 @@ fn test_sbp2json_auto_check_sbp_signing_msg_ecdsa_signature_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xC07, - "Incorrect message type, expected 0xC07, is {}", - msg_type + "Incorrect message type, expected 0xC07, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ed25519_certificate_dep.rs b/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ed25519_certificate_dep.rs index af549257d2..229c410be8 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ed25519_certificate_dep.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ed25519_certificate_dep.rs @@ -624,8 +624,7 @@ fn test_json2sbp_auto_check_sbp_signing_msg_ed25519_certificate_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xC02, - "Incorrect message type, expected 0xC02, is {}", - msg_type + "Incorrect message type, expected 0xC02, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1219,8 +1218,7 @@ fn test_sbp2json_auto_check_sbp_signing_msg_ed25519_certificate_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xC02, - "Incorrect message type, expected 0xC02, is {}", - msg_type + "Incorrect message type, expected 0xC02, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ed25519_signature_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ed25519_signature_dep_a.rs index faaf92a163..1b3404be71 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ed25519_signature_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ed25519_signature_dep_a.rs @@ -641,8 +641,7 @@ fn test_json2sbp_auto_check_sbp_signing_msg_ed25519_signature_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xC01, - "Incorrect message type, expected 0xC01, is {}", - msg_type + "Incorrect message type, expected 0xC01, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1253,8 +1252,7 @@ fn test_sbp2json_auto_check_sbp_signing_msg_ed25519_signature_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xC01, - "Incorrect message type, expected 0xC01, is {}", - msg_type + "Incorrect message type, expected 0xC01, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ed25519_signature_dep_b.rs b/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ed25519_signature_dep_b.rs index 57cef9fdb1..0d698616e4 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ed25519_signature_dep_b.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_signing_msg_ed25519_signature_dep_b.rs @@ -651,8 +651,7 @@ fn test_json2sbp_auto_check_sbp_signing_msg_ed25519_signature_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xC03, - "Incorrect message type, expected 0xC03, is {}", - msg_type + "Incorrect message type, expected 0xC03, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1273,8 +1272,7 @@ fn test_sbp2json_auto_check_sbp_signing_msg_ed25519_signature_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xC03, - "Incorrect message type, expected 0xC03, is {}", - msg_type + "Incorrect message type, expected 0xC03, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_solution_meta_msg_soln_meta.rs b/rust/sbp/tests/integration/auto_check_sbp_solution_meta_msg_soln_meta.rs index fcde8e5b1d..979ab7cf54 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_solution_meta_msg_soln_meta.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_solution_meta_msg_soln_meta.rs @@ -1321,8 +1321,7 @@ fn test_json2sbp_auto_check_sbp_solution_meta_msg_soln_meta() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xff0e, - "Incorrect message type, expected 0xff0e, is {}", - msg_type + "Incorrect message type, expected 0xff0e, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2613,8 +2612,7 @@ fn test_sbp2json_auto_check_sbp_solution_meta_msg_soln_meta() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xff0e, - "Incorrect message type, expected 0xff0e, is {}", - msg_type + "Incorrect message type, expected 0xff0e, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_solution_meta_msg_soln_meta_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_solution_meta_msg_soln_meta_dep_a.rs index cf3145a23d..ae0fefbd41 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_solution_meta_msg_soln_meta_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_solution_meta_msg_soln_meta_dep_a.rs @@ -1321,8 +1321,7 @@ fn test_json2sbp_auto_check_sbp_solution_meta_msg_soln_meta_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xff0f, - "Incorrect message type, expected 0xff0f, is {}", - msg_type + "Incorrect message type, expected 0xff0f, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2613,8 +2612,7 @@ fn test_sbp2json_auto_check_sbp_solution_meta_msg_soln_meta_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xff0f, - "Incorrect message type, expected 0xff0f, is {}", - msg_type + "Incorrect message type, expected 0xff0f, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_code_biases.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_code_biases.rs index 474906cdc2..42db561ebe 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_code_biases.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_code_biases.rs @@ -941,8 +941,7 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_code_biases() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x5e1, - "Incorrect message type, expected 0x5e1, is {}", - msg_type + "Incorrect message type, expected 0x5e1, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1853,8 +1852,7 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_code_biases() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x5e1, - "Incorrect message type, expected 0x5e1, is {}", - msg_type + "Incorrect message type, expected 0x5e1, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_code_phase_biases_bounds.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_code_phase_biases_bounds.rs index a87cc70c4b..95ff7eaf1b 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_code_phase_biases_bounds.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_code_phase_biases_bounds.rs @@ -176,8 +176,7 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_code_phase_biases_bounds() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 1516, - "Incorrect message type, expected 1516, is {}", - msg_type + "Incorrect message type, expected 1516, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -323,8 +322,7 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_code_phase_biases_bounds() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 1516, - "Incorrect message type, expected 1516, is {}", - msg_type + "Incorrect message type, expected 1516, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_grid_definition_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_grid_definition_dep_a.rs index a86c4bb4fe..40ef125193 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_grid_definition_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_grid_definition_dep_a.rs @@ -1361,8 +1361,7 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_grid_definition_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x5f5, - "Incorrect message type, expected 0x5f5, is {}", - msg_type + "Incorrect message type, expected 0x5f5, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2693,8 +2692,7 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_grid_definition_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x5f5, - "Incorrect message type, expected 0x5f5, is {}", - msg_type + "Incorrect message type, expected 0x5f5, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_gridded_correction.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_gridded_correction.rs index 14f3ec2cac..a3a78f9a72 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_gridded_correction.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_gridded_correction.rs @@ -910,8 +910,7 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x5fc, - "Incorrect message type, expected 0x5fc, is {}", - msg_type + "Incorrect message type, expected 0x5fc, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1791,8 +1790,7 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x5fc, - "Incorrect message type, expected 0x5fc, is {}", - msg_type + "Incorrect message type, expected 0x5fc, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_gridded_correction_bounds.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_gridded_correction_bounds.rs index f0febe1b59..927077e12d 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_gridded_correction_bounds.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_gridded_correction_bounds.rs @@ -367,8 +367,7 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_bounds() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 1534, - "Incorrect message type, expected 1534, is {}", - msg_type + "Incorrect message type, expected 1534, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -556,8 +555,7 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_bounds() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 1534, - "Incorrect message type, expected 1534, is {}", - msg_type + "Incorrect message type, expected 1534, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -712,8 +710,7 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_bounds() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 1534, - "Incorrect message type, expected 1534, is {}", - msg_type + "Incorrect message type, expected 1534, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -914,8 +911,7 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_bounds() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 1534, - "Incorrect message type, expected 1534, is {}", - msg_type + "Incorrect message type, expected 1534, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a.rs index 735093b5ce..4fc48c0fdf 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a.rs @@ -940,8 +940,7 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x5fa, - "Incorrect message type, expected 0x5fa, is {}", - msg_type + "Incorrect message type, expected 0x5fa, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1851,8 +1850,7 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x5fa, - "Incorrect message type, expected 0x5fa, is {}", - msg_type + "Incorrect message type, expected 0x5fa, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a.rs index 9ccadbdadf..a274d43f8f 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a.rs @@ -820,8 +820,7 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x5f0, - "Incorrect message type, expected 0x5f0, is {}", - msg_type + "Incorrect message type, expected 0x5f0, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1611,8 +1610,7 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x5f0, - "Incorrect message type, expected 0x5f0, is {}", - msg_type + "Incorrect message type, expected 0x5f0, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_orbit_clock.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_orbit_clock.rs index 205a95954b..b9ae56123f 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_orbit_clock.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_orbit_clock.rs @@ -171,8 +171,7 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_orbit_clock() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x5dd, - "Incorrect message type, expected 0x5dd, is {}", - msg_type + "Incorrect message type, expected 0x5dd, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -313,8 +312,7 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_orbit_clock() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x5dd, - "Incorrect message type, expected 0x5dd, is {}", - msg_type + "Incorrect message type, expected 0x5dd, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_orbit_clock_bounds.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_orbit_clock_bounds.rs index e6dd77c974..00a37b8706 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_orbit_clock_bounds.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_orbit_clock_bounds.rs @@ -176,8 +176,7 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_orbit_clock_bounds() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 1502, - "Incorrect message type, expected 1502, is {}", - msg_type + "Incorrect message type, expected 1502, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -323,8 +322,7 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_orbit_clock_bounds() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 1502, - "Incorrect message type, expected 1502, is {}", - msg_type + "Incorrect message type, expected 1502, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_orbit_clock_bounds_degradation.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_orbit_clock_bounds_degradation.rs index 817b5dae89..20639f2007 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_orbit_clock_bounds_degradation.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_orbit_clock_bounds_degradation.rs @@ -142,8 +142,7 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_orbit_clock_bounds_degradation() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 1503, - "Incorrect message type, expected 1503, is {}", - msg_type + "Incorrect message type, expected 1503, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -255,8 +254,7 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_orbit_clock_bounds_degradation() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 1503, - "Incorrect message type, expected 1503, is {}", - msg_type + "Incorrect message type, expected 1503, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_orbit_clock_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_orbit_clock_dep_a.rs index 70f10d5050..d162199880 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_orbit_clock_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_orbit_clock_dep_a.rs @@ -170,8 +170,7 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_orbit_clock_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x5dc, - "Incorrect message type, expected 0x5dc, is {}", - msg_type + "Incorrect message type, expected 0x5dc, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -311,8 +310,7 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_orbit_clock_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x5dc, - "Incorrect message type, expected 0x5dc, is {}", - msg_type + "Incorrect message type, expected 0x5dc, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_phase_biases.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_phase_biases.rs index a7bdab0522..5c0781ad6a 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_phase_biases.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_phase_biases.rs @@ -849,8 +849,7 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_phase_biases() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x5e6, - "Incorrect message type, expected 0x5e6, is {}", - msg_type + "Incorrect message type, expected 0x5e6, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1669,8 +1668,7 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_phase_biases() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x5e6, - "Incorrect message type, expected 0x5e6, is {}", - msg_type + "Incorrect message type, expected 0x5e6, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_satellite_apc.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_satellite_apc.rs index a098779305..61f23a920e 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_satellite_apc.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_satellite_apc.rs @@ -255,8 +255,7 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_satellite_apc() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x605, - "Incorrect message type, expected 0x605, is {}", - msg_type + "Incorrect message type, expected 0x605, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -481,8 +480,7 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_satellite_apc() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x605, - "Incorrect message type, expected 0x605, is {}", - msg_type + "Incorrect message type, expected 0x605, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_satellite_apc_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_satellite_apc_dep_a.rs index d5381f35e8..7e702b422c 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_satellite_apc_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_satellite_apc_dep_a.rs @@ -1080,8 +1080,7 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_satellite_apc_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x604, - "Incorrect message type, expected 0x604, is {}", - msg_type + "Incorrect message type, expected 0x604, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2131,8 +2130,7 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_satellite_apc_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x604, - "Incorrect message type, expected 0x604, is {}", - msg_type + "Incorrect message type, expected 0x604, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_stec_correction.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_stec_correction.rs index 76b98dab2c..a96e258aaa 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_stec_correction.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_stec_correction.rs @@ -201,8 +201,7 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_stec_correction() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 1533, - "Incorrect message type, expected 1533, is {}", - msg_type + "Incorrect message type, expected 1533, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -373,8 +372,7 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_stec_correction() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 1533, - "Incorrect message type, expected 1533, is {}", - msg_type + "Incorrect message type, expected 1533, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_stec_correction_dep.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_stec_correction_dep.rs index 0f743aaff8..4dc3b0559d 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_stec_correction_dep.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_stec_correction_dep.rs @@ -768,8 +768,7 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x5fb, - "Incorrect message type, expected 0x5fb, is {}", - msg_type + "Incorrect message type, expected 0x5fb, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1507,8 +1506,7 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x5fb, - "Incorrect message type, expected 0x5fb, is {}", - msg_type + "Incorrect message type, expected 0x5fb, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a.rs index 8e59563c0d..60337fca14 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a.rs @@ -785,8 +785,7 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x5eb, - "Incorrect message type, expected 0x5eb, is {}", - msg_type + "Incorrect message type, expected 0x5eb, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1541,8 +1540,7 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x5eb, - "Incorrect message type, expected 0x5eb, is {}", - msg_type + "Incorrect message type, expected 0x5eb, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_tile_definition.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_tile_definition.rs index 06030507bf..92cef89bf3 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_tile_definition.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_tile_definition.rs @@ -159,8 +159,7 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_tile_definition() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x5F8, - "Incorrect message type, expected 0x5F8, is {}", - msg_type + "Incorrect message type, expected 0x5F8, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -289,8 +288,7 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_tile_definition() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x5F8, - "Incorrect message type, expected 0x5F8, is {}", - msg_type + "Incorrect message type, expected 0x5F8, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_tile_definition_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_tile_definition_dep_a.rs index ed83d5efef..59892c7f07 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_tile_definition_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_tile_definition_dep_a.rs @@ -134,8 +134,7 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_tile_definition_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x5f6, - "Incorrect message type, expected 0x5f6, is {}", - msg_type + "Incorrect message type, expected 0x5f6, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -239,8 +238,7 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_tile_definition_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x5f6, - "Incorrect message type, expected 0x5f6, is {}", - msg_type + "Incorrect message type, expected 0x5f6, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_tile_definition_dep_b.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_tile_definition_dep_b.rs index b261872446..c076a60a42 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_tile_definition_dep_b.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_tile_definition_dep_b.rs @@ -139,8 +139,7 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_tile_definition_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 1527, - "Incorrect message type, expected 1527, is {}", - msg_type + "Incorrect message type, expected 1527, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -249,8 +248,7 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_tile_definition_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 1527, - "Incorrect message type, expected 1527, is {}", - msg_type + "Incorrect message type, expected 1527, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_system_msg_csac_telemetry.rs b/rust/sbp/tests/integration/auto_check_sbp_system_msg_csac_telemetry.rs index 38f3a8a1f4..00e58d4fbd 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_system_msg_csac_telemetry.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_system_msg_csac_telemetry.rs @@ -100,8 +100,7 @@ fn test_json2sbp_auto_check_sbp_system_msg_csac_telemetry() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xff04, - "Incorrect message type, expected 0xff04, is {}", - msg_type + "Incorrect message type, expected 0xff04, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -171,8 +170,7 @@ fn test_sbp2json_auto_check_sbp_system_msg_csac_telemetry() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xff04, - "Incorrect message type, expected 0xff04, is {}", - msg_type + "Incorrect message type, expected 0xff04, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_system_msg_csac_telemetry_labels.rs b/rust/sbp/tests/integration/auto_check_sbp_system_msg_csac_telemetry_labels.rs index 7eeab3159d..10a26496f3 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_system_msg_csac_telemetry_labels.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_system_msg_csac_telemetry_labels.rs @@ -101,8 +101,7 @@ fn test_json2sbp_auto_check_sbp_system_msg_csac_telemetry_labels() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xff05, - "Incorrect message type, expected 0xff05, is {}", - msg_type + "Incorrect message type, expected 0xff05, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -173,8 +172,7 @@ fn test_sbp2json_auto_check_sbp_system_msg_csac_telemetry_labels() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xff05, - "Incorrect message type, expected 0xff05, is {}", - msg_type + "Incorrect message type, expected 0xff05, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_system_msg_dgnss_status.rs b/rust/sbp/tests/integration/auto_check_sbp_system_msg_dgnss_status.rs index 5c724079de..368006c52b 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_system_msg_dgnss_status.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_system_msg_dgnss_status.rs @@ -110,8 +110,7 @@ fn test_json2sbp_auto_check_sbp_system_msg_dgnss_status() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xff02, - "Incorrect message type, expected 0xff02, is {}", - msg_type + "Incorrect message type, expected 0xff02, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -191,8 +190,7 @@ fn test_sbp2json_auto_check_sbp_system_msg_dgnss_status() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xff02, - "Incorrect message type, expected 0xff02, is {}", - msg_type + "Incorrect message type, expected 0xff02, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_system_msg_gnss_time_offset.rs b/rust/sbp/tests/integration/auto_check_sbp_system_msg_gnss_time_offset.rs index ca40830261..aaf29a48e3 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_system_msg_gnss_time_offset.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_system_msg_gnss_time_offset.rs @@ -108,8 +108,7 @@ fn test_json2sbp_auto_check_sbp_system_msg_gnss_time_offset() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xff07, - "Incorrect message type, expected 0xff07, is {}", - msg_type + "Incorrect message type, expected 0xff07, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -187,8 +186,7 @@ fn test_sbp2json_auto_check_sbp_system_msg_gnss_time_offset() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xff07, - "Incorrect message type, expected 0xff07, is {}", - msg_type + "Incorrect message type, expected 0xff07, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_system_msg_group_meta.rs b/rust/sbp/tests/integration/auto_check_sbp_system_msg_group_meta.rs index 87e33c7b5c..4279ce6c80 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_system_msg_group_meta.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_system_msg_group_meta.rs @@ -234,8 +234,7 @@ fn test_json2sbp_auto_check_sbp_system_msg_group_meta() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xFF0A, - "Incorrect message type, expected 0xFF0A, is {}", - msg_type + "Incorrect message type, expected 0xFF0A, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -302,8 +301,7 @@ fn test_json2sbp_auto_check_sbp_system_msg_group_meta() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xFF0A, - "Incorrect message type, expected 0xFF0A, is {}", - msg_type + "Incorrect message type, expected 0xFF0A, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -446,8 +444,7 @@ fn test_sbp2json_auto_check_sbp_system_msg_group_meta() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xFF0A, - "Incorrect message type, expected 0xFF0A, is {}", - msg_type + "Incorrect message type, expected 0xFF0A, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -527,8 +524,7 @@ fn test_sbp2json_auto_check_sbp_system_msg_group_meta() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xFF0A, - "Incorrect message type, expected 0xFF0A, is {}", - msg_type + "Incorrect message type, expected 0xFF0A, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_system_msg_heartbeat.rs b/rust/sbp/tests/integration/auto_check_sbp_system_msg_heartbeat.rs index d09d9de2ce..b4ff68379e 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_system_msg_heartbeat.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_system_msg_heartbeat.rs @@ -124,8 +124,7 @@ fn test_json2sbp_auto_check_sbp_system_msg_heartbeat() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xffff, - "Incorrect message type, expected 0xffff, is {}", - msg_type + "Incorrect message type, expected 0xffff, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -167,8 +166,7 @@ fn test_json2sbp_auto_check_sbp_system_msg_heartbeat() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xffff, - "Incorrect message type, expected 0xffff, is {}", - msg_type + "Incorrect message type, expected 0xffff, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -229,8 +227,7 @@ fn test_sbp2json_auto_check_sbp_system_msg_heartbeat() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xffff, - "Incorrect message type, expected 0xffff, is {}", - msg_type + "Incorrect message type, expected 0xffff, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -282,8 +279,7 @@ fn test_sbp2json_auto_check_sbp_system_msg_heartbeat() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xffff, - "Incorrect message type, expected 0xffff, is {}", - msg_type + "Incorrect message type, expected 0xffff, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_system_msg_ins_status.rs b/rust/sbp/tests/integration/auto_check_sbp_system_msg_ins_status.rs index f467f2d682..ff388fd641 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_system_msg_ins_status.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_system_msg_ins_status.rs @@ -91,8 +91,7 @@ fn test_json2sbp_auto_check_sbp_system_msg_ins_status() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xff03, - "Incorrect message type, expected 0xff03, is {}", - msg_type + "Incorrect message type, expected 0xff03, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -153,8 +152,7 @@ fn test_sbp2json_auto_check_sbp_system_msg_ins_status() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xff03, - "Incorrect message type, expected 0xff03, is {}", - msg_type + "Incorrect message type, expected 0xff03, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_system_msg_ins_updates.rs b/rust/sbp/tests/integration/auto_check_sbp_system_msg_ins_updates.rs index ca012bb0e5..a9ce210d17 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_system_msg_ins_updates.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_system_msg_ins_updates.rs @@ -123,8 +123,7 @@ fn test_json2sbp_auto_check_sbp_system_msg_ins_updates() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xff06, - "Incorrect message type, expected 0xff06, is {}", - msg_type + "Incorrect message type, expected 0xff06, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -217,8 +216,7 @@ fn test_sbp2json_auto_check_sbp_system_msg_ins_updates() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xff06, - "Incorrect message type, expected 0xff06, is {}", - msg_type + "Incorrect message type, expected 0xff06, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_system_msg_pps_time.rs b/rust/sbp/tests/integration/auto_check_sbp_system_msg_pps_time.rs index 9bfcb2fe71..5b5d3d5ece 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_system_msg_pps_time.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_system_msg_pps_time.rs @@ -98,8 +98,7 @@ fn test_json2sbp_auto_check_sbp_system_msg_pps_time() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xff08, - "Incorrect message type, expected 0xff08, is {}", - msg_type + "Incorrect message type, expected 0xff08, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -167,8 +166,7 @@ fn test_sbp2json_auto_check_sbp_system_msg_pps_time() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xff08, - "Incorrect message type, expected 0xff08, is {}", - msg_type + "Incorrect message type, expected 0xff08, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_system_msg_sensor_aid_event.rs b/rust/sbp/tests/integration/auto_check_sbp_system_msg_sensor_aid_event.rs index 4ccacd7753..8e248d94fe 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_system_msg_sensor_aid_event.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_system_msg_sensor_aid_event.rs @@ -128,8 +128,7 @@ fn test_json2sbp_auto_check_sbp_system_msg_sensor_aid_event() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xFF09, - "Incorrect message type, expected 0xFF09, is {}", - msg_type + "Incorrect message type, expected 0xFF09, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -227,8 +226,7 @@ fn test_sbp2json_auto_check_sbp_system_msg_sensor_aid_event() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xFF09, - "Incorrect message type, expected 0xFF09, is {}", - msg_type + "Incorrect message type, expected 0xFF09, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_system_msg_startup.rs b/rust/sbp/tests/integration/auto_check_sbp_system_msg_startup.rs index 19a5582f4d..fb3644279c 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_system_msg_startup.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_system_msg_startup.rs @@ -144,8 +144,7 @@ fn test_json2sbp_auto_check_sbp_system_msg_startup() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xff00, - "Incorrect message type, expected 0xff00, is {}", - msg_type + "Incorrect message type, expected 0xff00, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -197,8 +196,7 @@ fn test_json2sbp_auto_check_sbp_system_msg_startup() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xff00, - "Incorrect message type, expected 0xff00, is {}", - msg_type + "Incorrect message type, expected 0xff00, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -269,8 +267,7 @@ fn test_sbp2json_auto_check_sbp_system_msg_startup() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xff00, - "Incorrect message type, expected 0xff00, is {}", - msg_type + "Incorrect message type, expected 0xff00, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -332,8 +329,7 @@ fn test_sbp2json_auto_check_sbp_system_msg_startup() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xff00, - "Incorrect message type, expected 0xff00, is {}", - msg_type + "Incorrect message type, expected 0xff00, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_system_msg_status_journal.rs b/rust/sbp/tests/integration/auto_check_sbp_system_msg_status_journal.rs index 7628446904..b33e7c5de4 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_system_msg_status_journal.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_system_msg_status_journal.rs @@ -240,8 +240,7 @@ fn test_json2sbp_auto_check_sbp_system_msg_status_journal() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xFFFD, - "Incorrect message type, expected 0xFFFD, is {}", - msg_type + "Incorrect message type, expected 0xFFFD, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -358,8 +357,7 @@ fn test_json2sbp_auto_check_sbp_system_msg_status_journal() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xFFFD, - "Incorrect message type, expected 0xFFFD, is {}", - msg_type + "Incorrect message type, expected 0xFFFD, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -458,8 +456,7 @@ fn test_sbp2json_auto_check_sbp_system_msg_status_journal() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xFFFD, - "Incorrect message type, expected 0xFFFD, is {}", - msg_type + "Incorrect message type, expected 0xFFFD, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -589,8 +586,7 @@ fn test_sbp2json_auto_check_sbp_system_msg_status_journal() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xFFFD, - "Incorrect message type, expected 0xFFFD, is {}", - msg_type + "Incorrect message type, expected 0xFFFD, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_system_msg_status_report.rs b/rust/sbp/tests/integration/auto_check_sbp_system_msg_status_report.rs index e22aa44883..ac6fff00a8 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_system_msg_status_report.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_system_msg_status_report.rs @@ -1021,8 +1021,7 @@ fn test_json2sbp_auto_check_sbp_system_msg_status_report() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xfffe, - "Incorrect message type, expected 0xfffe, is {}", - msg_type + "Incorrect message type, expected 0xfffe, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2013,8 +2012,7 @@ fn test_sbp2json_auto_check_sbp_system_msg_status_report() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0xfffe, - "Incorrect message type, expected 0xfffe, is {}", - msg_type + "Incorrect message type, expected 0xfffe, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_telemetry_msg_tel_sv.rs b/rust/sbp/tests/integration/auto_check_sbp_telemetry_msg_tel_sv.rs index 19741f009f..54402bcc6c 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_telemetry_msg_tel_sv.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_telemetry_msg_tel_sv.rs @@ -159,8 +159,7 @@ fn test_json2sbp_auto_check_sbp_telemetry_msg_tel_sv() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x120, - "Incorrect message type, expected 0x120, is {}", - msg_type + "Incorrect message type, expected 0x120, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -289,8 +288,7 @@ fn test_sbp2json_auto_check_sbp_telemetry_msg_tel_sv() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x120, - "Incorrect message type, expected 0x120, is {}", - msg_type + "Incorrect message type, expected 0x120, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_measurement_state.rs b/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_measurement_state.rs index aee131a3bc..c2371ce661 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_measurement_state.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_measurement_state.rs @@ -1283,8 +1283,7 @@ fn test_json2sbp_auto_check_sbp_tracking_msg_measurement_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x61, - "Incorrect message type, expected 0x61, is {}", - msg_type + "Incorrect message type, expected 0x61, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2537,8 +2536,7 @@ fn test_sbp2json_auto_check_sbp_tracking_msg_measurement_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x61, - "Incorrect message type, expected 0x61, is {}", - msg_type + "Incorrect message type, expected 0x61, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_iq.rs b/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_iq.rs index 854fd40d4a..1a7217b9dc 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_iq.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_iq.rs @@ -134,8 +134,7 @@ fn test_json2sbp_auto_check_sbp_tracking_msg_tracking_iq() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x2d, - "Incorrect message type, expected 0x2d, is {}", - msg_type + "Incorrect message type, expected 0x2d, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -239,8 +238,7 @@ fn test_sbp2json_auto_check_sbp_tracking_msg_tracking_iq() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x2d, - "Incorrect message type, expected 0x2d, is {}", - msg_type + "Incorrect message type, expected 0x2d, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_iq_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_iq_dep_a.rs index 5454c43457..f22b9078f1 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_iq_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_iq_dep_a.rs @@ -139,8 +139,7 @@ fn test_json2sbp_auto_check_sbp_tracking_msg_tracking_iq_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x1c, - "Incorrect message type, expected 0x1c, is {}", - msg_type + "Incorrect message type, expected 0x1c, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -249,8 +248,7 @@ fn test_sbp2json_auto_check_sbp_tracking_msg_tracking_iq_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x1c, - "Incorrect message type, expected 0x1c, is {}", - msg_type + "Incorrect message type, expected 0x1c, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_iq_dep_b.rs b/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_iq_dep_b.rs index 535d3497be..977b8b90e3 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_iq_dep_b.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_iq_dep_b.rs @@ -134,8 +134,7 @@ fn test_json2sbp_auto_check_sbp_tracking_msg_tracking_iq_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x2c, - "Incorrect message type, expected 0x2c, is {}", - msg_type + "Incorrect message type, expected 0x2c, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -239,8 +238,7 @@ fn test_sbp2json_auto_check_sbp_tracking_msg_tracking_iq_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x2c, - "Incorrect message type, expected 0x2c, is {}", - msg_type + "Incorrect message type, expected 0x2c, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_state.rs b/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_state.rs index 70a2b6fa3a..bf8dbd159d 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_state.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_state.rs @@ -2886,8 +2886,7 @@ fn test_json2sbp_auto_check_sbp_tracking_msg_tracking_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x41, - "Incorrect message type, expected 0x41, is {}", - msg_type + "Incorrect message type, expected 0x41, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -4184,8 +4183,7 @@ fn test_json2sbp_auto_check_sbp_tracking_msg_tracking_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x13, - "Incorrect message type, expected 0x13, is {}", - msg_type + "Incorrect message type, expected 0x13, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -4493,8 +4491,7 @@ fn test_json2sbp_auto_check_sbp_tracking_msg_tracking_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x13, - "Incorrect message type, expected 0x13, is {}", - msg_type + "Incorrect message type, expected 0x13, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -4802,8 +4799,7 @@ fn test_json2sbp_auto_check_sbp_tracking_msg_tracking_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x13, - "Incorrect message type, expected 0x13, is {}", - msg_type + "Incorrect message type, expected 0x13, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -5111,8 +5107,7 @@ fn test_json2sbp_auto_check_sbp_tracking_msg_tracking_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x13, - "Incorrect message type, expected 0x13, is {}", - msg_type + "Incorrect message type, expected 0x13, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -5420,8 +5415,7 @@ fn test_json2sbp_auto_check_sbp_tracking_msg_tracking_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x13, - "Incorrect message type, expected 0x13, is {}", - msg_type + "Incorrect message type, expected 0x13, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -5763,8 +5757,7 @@ fn test_sbp2json_auto_check_sbp_tracking_msg_tracking_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x41, - "Incorrect message type, expected 0x41, is {}", - msg_type + "Incorrect message type, expected 0x41, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -7077,8 +7070,7 @@ fn test_sbp2json_auto_check_sbp_tracking_msg_tracking_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x13, - "Incorrect message type, expected 0x13, is {}", - msg_type + "Incorrect message type, expected 0x13, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -7402,8 +7394,7 @@ fn test_sbp2json_auto_check_sbp_tracking_msg_tracking_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x13, - "Incorrect message type, expected 0x13, is {}", - msg_type + "Incorrect message type, expected 0x13, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -7727,8 +7718,7 @@ fn test_sbp2json_auto_check_sbp_tracking_msg_tracking_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x13, - "Incorrect message type, expected 0x13, is {}", - msg_type + "Incorrect message type, expected 0x13, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -8052,8 +8042,7 @@ fn test_sbp2json_auto_check_sbp_tracking_msg_tracking_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x13, - "Incorrect message type, expected 0x13, is {}", - msg_type + "Incorrect message type, expected 0x13, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -8377,8 +8366,7 @@ fn test_sbp2json_auto_check_sbp_tracking_msg_tracking_state() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x13, - "Incorrect message type, expected 0x13, is {}", - msg_type + "Incorrect message type, expected 0x13, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_state_dep_b.rs b/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_state_dep_b.rs index 4a5739e167..bb62ab5c43 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_state_dep_b.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_state_dep_b.rs @@ -801,8 +801,7 @@ fn test_json2sbp_auto_check_sbp_tracking_msg_tracking_state_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x13, - "Incorrect message type, expected 0x13, is {}", - msg_type + "Incorrect message type, expected 0x13, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1573,8 +1572,7 @@ fn test_sbp2json_auto_check_sbp_tracking_msg_tracking_state_dep_b() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x13, - "Incorrect message type, expected 0x13, is {}", - msg_type + "Incorrect message type, expected 0x13, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_state_detailed_dep.rs b/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_state_detailed_dep.rs index 18f1229626..708c46522a 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_state_detailed_dep.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_state_detailed_dep.rs @@ -823,8 +823,7 @@ fn test_json2sbp_auto_check_sbp_tracking_msg_tracking_state_detailed_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x11, - "Incorrect message type, expected 0x11, is {}", - msg_type + "Incorrect message type, expected 0x11, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -982,8 +981,7 @@ fn test_json2sbp_auto_check_sbp_tracking_msg_tracking_state_detailed_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x11, - "Incorrect message type, expected 0x11, is {}", - msg_type + "Incorrect message type, expected 0x11, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1141,8 +1139,7 @@ fn test_json2sbp_auto_check_sbp_tracking_msg_tracking_state_detailed_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x11, - "Incorrect message type, expected 0x11, is {}", - msg_type + "Incorrect message type, expected 0x11, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1300,8 +1297,7 @@ fn test_json2sbp_auto_check_sbp_tracking_msg_tracking_state_detailed_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x11, - "Incorrect message type, expected 0x11, is {}", - msg_type + "Incorrect message type, expected 0x11, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1459,8 +1455,7 @@ fn test_json2sbp_auto_check_sbp_tracking_msg_tracking_state_detailed_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x11, - "Incorrect message type, expected 0x11, is {}", - msg_type + "Incorrect message type, expected 0x11, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1641,8 +1636,7 @@ fn test_sbp2json_auto_check_sbp_tracking_msg_tracking_state_detailed_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x11, - "Incorrect message type, expected 0x11, is {}", - msg_type + "Incorrect message type, expected 0x11, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1814,8 +1808,7 @@ fn test_sbp2json_auto_check_sbp_tracking_msg_tracking_state_detailed_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x11, - "Incorrect message type, expected 0x11, is {}", - msg_type + "Incorrect message type, expected 0x11, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1987,8 +1980,7 @@ fn test_sbp2json_auto_check_sbp_tracking_msg_tracking_state_detailed_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x11, - "Incorrect message type, expected 0x11, is {}", - msg_type + "Incorrect message type, expected 0x11, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2160,8 +2152,7 @@ fn test_sbp2json_auto_check_sbp_tracking_msg_tracking_state_detailed_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x11, - "Incorrect message type, expected 0x11, is {}", - msg_type + "Incorrect message type, expected 0x11, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2333,8 +2324,7 @@ fn test_sbp2json_auto_check_sbp_tracking_msg_tracking_state_detailed_dep() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x11, - "Incorrect message type, expected 0x11, is {}", - msg_type + "Incorrect message type, expected 0x11, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_state_detailed_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_state_detailed_dep_a.rs index ab77f4201d..6af34cc6d8 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_state_detailed_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_state_detailed_dep_a.rs @@ -216,8 +216,7 @@ fn test_json2sbp_auto_check_sbp_tracking_msg_tracking_state_detailed_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x21, - "Incorrect message type, expected 0x21, is {}", - msg_type + "Incorrect message type, expected 0x21, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -403,8 +402,7 @@ fn test_sbp2json_auto_check_sbp_tracking_msg_tracking_state_detailed_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x21, - "Incorrect message type, expected 0x21, is {}", - msg_type + "Incorrect message type, expected 0x21, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_tracking_msgtracking_state_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_tracking_msgtracking_state_dep_a.rs index bdadcdc848..158c74a62e 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_tracking_msgtracking_state_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_tracking_msgtracking_state_dep_a.rs @@ -1234,8 +1234,7 @@ fn test_json2sbp_auto_check_sbp_tracking_msgtracking_state_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x16, - "Incorrect message type, expected 0x16, is {}", - msg_type + "Incorrect message type, expected 0x16, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1437,8 +1436,7 @@ fn test_json2sbp_auto_check_sbp_tracking_msgtracking_state_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x16, - "Incorrect message type, expected 0x16, is {}", - msg_type + "Incorrect message type, expected 0x16, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1640,8 +1638,7 @@ fn test_json2sbp_auto_check_sbp_tracking_msgtracking_state_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x16, - "Incorrect message type, expected 0x16, is {}", - msg_type + "Incorrect message type, expected 0x16, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -1843,8 +1840,7 @@ fn test_json2sbp_auto_check_sbp_tracking_msgtracking_state_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x16, - "Incorrect message type, expected 0x16, is {}", - msg_type + "Incorrect message type, expected 0x16, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2042,8 +2038,7 @@ fn test_json2sbp_auto_check_sbp_tracking_msgtracking_state_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x16, - "Incorrect message type, expected 0x16, is {}", - msg_type + "Incorrect message type, expected 0x16, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2241,8 +2236,7 @@ fn test_json2sbp_auto_check_sbp_tracking_msgtracking_state_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x16, - "Incorrect message type, expected 0x16, is {}", - msg_type + "Incorrect message type, expected 0x16, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2464,8 +2458,7 @@ fn test_sbp2json_auto_check_sbp_tracking_msgtracking_state_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x16, - "Incorrect message type, expected 0x16, is {}", - msg_type + "Incorrect message type, expected 0x16, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2682,8 +2675,7 @@ fn test_sbp2json_auto_check_sbp_tracking_msgtracking_state_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x16, - "Incorrect message type, expected 0x16, is {}", - msg_type + "Incorrect message type, expected 0x16, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2900,8 +2892,7 @@ fn test_sbp2json_auto_check_sbp_tracking_msgtracking_state_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x16, - "Incorrect message type, expected 0x16, is {}", - msg_type + "Incorrect message type, expected 0x16, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -3118,8 +3109,7 @@ fn test_sbp2json_auto_check_sbp_tracking_msgtracking_state_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x16, - "Incorrect message type, expected 0x16, is {}", - msg_type + "Incorrect message type, expected 0x16, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -3332,8 +3322,7 @@ fn test_sbp2json_auto_check_sbp_tracking_msgtracking_state_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x16, - "Incorrect message type, expected 0x16, is {}", - msg_type + "Incorrect message type, expected 0x16, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -3546,8 +3535,7 @@ fn test_sbp2json_auto_check_sbp_tracking_msgtracking_state_dep_a() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x16, - "Incorrect message type, expected 0x16, is {}", - msg_type + "Incorrect message type, expected 0x16, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_user_msg_user_data.rs b/rust/sbp/tests/integration/auto_check_sbp_user_msg_user_data.rs index 4c894f0739..636cca02d5 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_user_msg_user_data.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_user_msg_user_data.rs @@ -1376,8 +1376,7 @@ fn test_json2sbp_auto_check_sbp_user_msg_user_data() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x800, - "Incorrect message type, expected 0x800, is {}", - msg_type + "Incorrect message type, expected 0x800, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -2723,8 +2722,7 @@ fn test_sbp2json_auto_check_sbp_user_msg_user_data() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x800, - "Incorrect message type, expected 0x800, is {}", - msg_type + "Incorrect message type, expected 0x800, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_vehicle_msg_odometry.rs b/rust/sbp/tests/integration/auto_check_sbp_vehicle_msg_odometry.rs index 4bb22a436e..afa78c2a18 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_vehicle_msg_odometry.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_vehicle_msg_odometry.rs @@ -101,8 +101,7 @@ fn test_json2sbp_auto_check_sbp_vehicle_msg_odometry() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x903, - "Incorrect message type, expected 0x903, is {}", - msg_type + "Incorrect message type, expected 0x903, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -173,8 +172,7 @@ fn test_sbp2json_auto_check_sbp_vehicle_msg_odometry() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x903, - "Incorrect message type, expected 0x903, is {}", - msg_type + "Incorrect message type, expected 0x903, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_vehicle_msg_wheeltick.rs b/rust/sbp/tests/integration/auto_check_sbp_vehicle_msg_wheeltick.rs index 1451b72b83..be956dedde 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_vehicle_msg_wheeltick.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_vehicle_msg_wheeltick.rs @@ -108,8 +108,7 @@ fn test_json2sbp_auto_check_sbp_vehicle_msg_wheeltick() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x904, - "Incorrect message type, expected 0x904, is {}", - msg_type + "Incorrect message type, expected 0x904, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( @@ -187,8 +186,7 @@ fn test_sbp2json_auto_check_sbp_vehicle_msg_wheeltick() { let msg_type = msg.message_type().unwrap(); assert_eq!( msg_type, 0x904, - "Incorrect message type, expected 0x904, is {}", - msg_type + "Incorrect message type, expected 0x904, is {msg_type}" ); let sender_id = msg.sender_id().unwrap(); assert_eq!( From 5bfc6a67867e3d78636245cb6582de0d0d231c2f Mon Sep 17 00:00:00 2001 From: Arnaud Mallen Date: Wed, 9 Jul 2025 17:58:28 +0200 Subject: [PATCH 05/14] Don't install CMake manually --- .github/workflows/rust.yaml | 11 +++++++---- scripts/ci_prepare_rust.bash | 2 -- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/rust.yaml b/.github/workflows/rust.yaml index 5436b42ea2..1ef15a65d9 100644 --- a/.github/workflows/rust.yaml +++ b/.github/workflows/rust.yaml @@ -64,7 +64,7 @@ jobs: build: name: Build binaries - needs: [ lint, test ] + needs: [lint, test] strategy: matrix: os: @@ -75,6 +75,11 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Setup cmake + uses: jwlawson/actions-setup-cmake@v2 + with: + cmake-version: "3.31.2" + - run: ./scripts/ci_prepare_rust.bash shell: bash @@ -104,7 +109,7 @@ jobs: registry: if: startsWith(github.ref, 'refs/tags/v') - needs: [ build ] + needs: [build] name: Publish rust release to package-registry runs-on: ubuntu-latest steps: @@ -123,5 +128,3 @@ jobs: token: ${{ secrets.GH_TOKEN }} gh-name: ${{ secrets.GH_NAME }} gh-email: ${{ secrets.GH_EMAIL }} - - diff --git a/scripts/ci_prepare_rust.bash b/scripts/ci_prepare_rust.bash index e19149fa1a..79fcb7a882 100755 --- a/scripts/ci_prepare_rust.bash +++ b/scripts/ci_prepare_rust.bash @@ -6,8 +6,6 @@ if [ "$RUNNER_OS" == "Linux" ]; then sudo apt-get -qq update sudo apt-get -qq install -y pkg-config build-essential libudev-dev musl-tools rustup target add x86_64-unknown-linux-musl -elif [ "$RUNNER_OS" == "macOS" ]; then - brew install cmake elif [ "$RUNNER_OS" == "Windows" ]; then echo "C:\msys64\mingw64\bin" >>"$GITHUB_PATH" else From aac3df7f3c5fc5f9a0cecaf37e2b397699f7f222 Mon Sep 17 00:00:00 2001 From: Arnaud Mallen Date: Wed, 9 Jul 2025 18:03:35 +0200 Subject: [PATCH 06/14] Add something for macos --- scripts/ci_prepare_rust.bash | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/ci_prepare_rust.bash b/scripts/ci_prepare_rust.bash index 79fcb7a882..c6297bef59 100755 --- a/scripts/ci_prepare_rust.bash +++ b/scripts/ci_prepare_rust.bash @@ -6,6 +6,8 @@ if [ "$RUNNER_OS" == "Linux" ]; then sudo apt-get -qq update sudo apt-get -qq install -y pkg-config build-essential libudev-dev musl-tools rustup target add x86_64-unknown-linux-musl +elif [ "$RUNNER_OS" == "macOS" ]; then + echo "Nothing to do for macOS" elif [ "$RUNNER_OS" == "Windows" ]; then echo "C:\msys64\mingw64\bin" >>"$GITHUB_PATH" else From 77ddac160258fded33f8dac2b2280c83d60db444 Mon Sep 17 00:00:00 2001 From: Arnaud Mallen Date: Wed, 9 Jul 2025 18:40:43 +0200 Subject: [PATCH 07/14] Use ubuntu 24? --- .github/workflows/rust.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rust.yaml b/.github/workflows/rust.yaml index 1ef15a65d9..c297022d07 100644 --- a/.github/workflows/rust.yaml +++ b/.github/workflows/rust.yaml @@ -68,7 +68,7 @@ jobs: strategy: matrix: os: - - ubuntu-20.04 + - ubuntu-24.04 - macos-13 - windows-2022 runs-on: ${{ matrix.os }} From 7163a22acf40c97ca08e1c208e38bfea0e1638d6 Mon Sep 17 00:00:00 2001 From: Arnaud Mallen Date: Wed, 9 Jul 2025 18:51:20 +0200 Subject: [PATCH 08/14] Generate on more recent ubuntu --- .github/workflows/generator.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/generator.yaml b/.github/workflows/generator.yaml index eb427b84e2..8c54a72dfb 100644 --- a/.github/workflows/generator.yaml +++ b/.github/workflows/generator.yaml @@ -18,8 +18,8 @@ on: jobs: generation: name: Generated artifacts - runs-on: ubuntu-20.04 - container: + runs-on: ubuntu-24.04 + container: image: swiftnav/libsbp-build:2025-02-10 options: --user root volumes: @@ -60,7 +60,6 @@ jobs: with: name: ${{ steps.pdf.outputs.artifact_name }} path: ${{ steps.pdf.outputs.artifact_name }} - # - name: Check generated pdf # run: | # git diff --name-only --exit-code From c2c7cd1ab99679bf8c48a33418a7a483a7cc4939 Mon Sep 17 00:00:00 2001 From: Arnaud Mallen Date: Wed, 9 Jul 2025 19:30:04 +0200 Subject: [PATCH 09/14] Try benchmarks on 24.04? --- .github/workflows/benchmark.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/benchmark.yaml b/.github/workflows/benchmark.yaml index 2640f1637f..e556bcb79c 100644 --- a/.github/workflows/benchmark.yaml +++ b/.github/workflows/benchmark.yaml @@ -21,7 +21,7 @@ on: jobs: benchmark: name: Benchmark - runs-on: [xlarge] + runs-on: [xlarge-24.04] steps: - uses: actions/checkout@v4 - name: Setup From f73ed783c9ea06510edd23aadf3e7acc65bb2440 Mon Sep 17 00:00:00 2001 From: Arnaud Mallen Date: Thu, 10 Jul 2025 09:36:53 +0200 Subject: [PATCH 10/14] Test with updated prepare script --- scripts/ci_prepare_python.bash | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/scripts/ci_prepare_python.bash b/scripts/ci_prepare_python.bash index 5669a56a96..2b29a48c7f 100755 --- a/scripts/ci_prepare_python.bash +++ b/scripts/ci_prepare_python.bash @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# This script prepares the environment for Python use in ubuntu 24.04 runners in CI. set -ex @@ -9,6 +10,8 @@ sudo add-apt-repository -y ppa:deadsnakes/ppa sudo apt-get -qq update +# Install Python 3.7, 3.9, 3.10, and the default Python 3 version +# (Note: distutils is deprecated for default python on Ubuntu 24.04) sudo apt-get install -y \ build-essential \ zlib1g-dev \ @@ -24,10 +27,13 @@ sudo apt-get install -y \ liblzma-dev \ libpcre3-dev \ python3.7 python3.7-dev python3.7-distutils \ - python3 python3-dev python3-distutils \ python3.9 python3.9-dev python3.9-distutils \ python3.10 python3.10-dev python3.10-distutils \ + python3 python3-dev python3-pip \ musl-tools \ tox dpkg-dev wget -pip3 install wheel setuptools +# --break-system-packages is only a temporary workaround for the workflows to run +# Long term solution would be to create a dedicated virtual environments for each Python version +# using uv +pip3 install --break-system-packages wheel setuptools From 604b8321006962725b4ee5e17fba3567de7b0ddd Mon Sep 17 00:00:00 2001 From: Arnaud Mallen Date: Thu, 10 Jul 2025 09:38:26 +0200 Subject: [PATCH 11/14] Try python step too --- .github/workflows/python.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python.yaml b/.github/workflows/python.yaml index c5a3afa6df..548b4f182d 100644 --- a/.github/workflows/python.yaml +++ b/.github/workflows/python.yaml @@ -18,7 +18,7 @@ on: jobs: coverage: name: Test - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 From aaee86824126e2a0be2183c639dde27627824157 Mon Sep 17 00:00:00 2001 From: Arnaud Mallen Date: Thu, 10 Jul 2025 09:50:05 +0200 Subject: [PATCH 12/14] Test on 22.0.4 --- .github/workflows/benchmark.yaml | 2 +- .github/workflows/python.yaml | 2 +- scripts/ci_prepare_python.bash | 10 ++++------ 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/benchmark.yaml b/.github/workflows/benchmark.yaml index e556bcb79c..c5b920509e 100644 --- a/.github/workflows/benchmark.yaml +++ b/.github/workflows/benchmark.yaml @@ -21,7 +21,7 @@ on: jobs: benchmark: name: Benchmark - runs-on: [xlarge-24.04] + runs-on: [xlarge-22.04] steps: - uses: actions/checkout@v4 - name: Setup diff --git a/.github/workflows/python.yaml b/.github/workflows/python.yaml index 548b4f182d..ccb047e220 100644 --- a/.github/workflows/python.yaml +++ b/.github/workflows/python.yaml @@ -18,7 +18,7 @@ on: jobs: coverage: name: Test - runs-on: ubuntu-24.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 diff --git a/scripts/ci_prepare_python.bash b/scripts/ci_prepare_python.bash index 2b29a48c7f..28c8d1f806 100755 --- a/scripts/ci_prepare_python.bash +++ b/scripts/ci_prepare_python.bash @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# This script prepares the environment for Python use in ubuntu 24.04 runners in CI. +# This script prepares the environment for Python use in ubuntu 22.04 runners in CI. set -ex @@ -11,7 +11,7 @@ sudo add-apt-repository -y ppa:deadsnakes/ppa sudo apt-get -qq update # Install Python 3.7, 3.9, 3.10, and the default Python 3 version -# (Note: distutils is deprecated for default python on Ubuntu 24.04) +# (Note: distutils is deprecated for default python on Ubuntu 22.04) sudo apt-get install -y \ build-essential \ zlib1g-dev \ @@ -33,7 +33,5 @@ sudo apt-get install -y \ musl-tools \ tox dpkg-dev wget -# --break-system-packages is only a temporary workaround for the workflows to run -# Long term solution would be to create a dedicated virtual environments for each Python version -# using uv -pip3 install --break-system-packages wheel setuptools + +pip3 install wheel setuptools From 140417a083b42f977f3496d28378c9de46a40675 Mon Sep 17 00:00:00 2001 From: Arnaud Mallen Date: Thu, 10 Jul 2025 09:50:57 +0200 Subject: [PATCH 13/14] Standard ubuntu --- .github/workflows/benchmark.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/benchmark.yaml b/.github/workflows/benchmark.yaml index c5b920509e..c3347df762 100644 --- a/.github/workflows/benchmark.yaml +++ b/.github/workflows/benchmark.yaml @@ -21,7 +21,7 @@ on: jobs: benchmark: name: Benchmark - runs-on: [xlarge-22.04] + runs-on: [ubuntun-22.04] steps: - uses: actions/checkout@v4 - name: Setup From e71563ff6af2cd2226d598fca2f6d2734f38c6c9 Mon Sep 17 00:00:00 2001 From: Arnaud Mallen Date: Thu, 10 Jul 2025 09:51:08 +0200 Subject: [PATCH 14/14] update --- .github/workflows/benchmark.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/benchmark.yaml b/.github/workflows/benchmark.yaml index c3347df762..3a87b7b913 100644 --- a/.github/workflows/benchmark.yaml +++ b/.github/workflows/benchmark.yaml @@ -21,7 +21,7 @@ on: jobs: benchmark: name: Benchmark - runs-on: [ubuntun-22.04] + runs-on: [ubuntu-22.04] steps: - uses: actions/checkout@v4 - name: Setup