diff --git a/.github/workflows/benchmark.yaml b/.github/workflows/benchmark.yaml index 2640f1637f..3a87b7b913 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: [ubuntu-22.04] steps: - uses: actions/checkout@v4 - name: Setup 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 diff --git a/.github/workflows/python.yaml b/.github/workflows/python.yaml index c5a3afa6df..ccb047e220 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-22.04 steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/rust.yaml b/.github/workflows/rust.yaml index 5436b42ea2..c297022d07 100644 --- a/.github/workflows/rust.yaml +++ b/.github/workflows/rust.yaml @@ -64,17 +64,22 @@ jobs: build: name: Build binaries - needs: [ lint, test ] + needs: [lint, test] strategy: matrix: os: - - ubuntu-20.04 + - ubuntu-24.04 - macos-13 - windows-2022 runs-on: ${{ matrix.os }} 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/generator/sbpg/targets/resources/rust/test/sbp_tests_template.rs b/generator/sbpg/targets/resources/rust/test/sbp_tests_template.rs index 32f4c81081..0df3e91fa4 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 *)) @@ -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/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(()) } 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..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 @@ -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!( @@ -115,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!( @@ -200,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 2bdc895d2f..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 @@ -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!( @@ -365,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!( @@ -423,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!( @@ -481,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!( @@ -539,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!( @@ -597,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!( @@ -655,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!( @@ -734,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!( @@ -804,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!( @@ -874,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!( @@ -945,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!( @@ -1015,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!( @@ -1085,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 e5abcbeab5..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 @@ -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!( @@ -368,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!( @@ -436,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!( @@ -504,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!( @@ -572,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!( @@ -640,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!( @@ -730,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!( @@ -811,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!( @@ -892,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!( @@ -973,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!( @@ -1054,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 3cca197d51..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 @@ -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!( @@ -368,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!( @@ -436,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!( @@ -504,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!( @@ -572,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!( @@ -640,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!( @@ -730,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!( @@ -811,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!( @@ -892,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!( @@ -973,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!( @@ -1054,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 7119c2c2d4..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 @@ -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!( @@ -288,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!( @@ -546,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 2a18c29b1a..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 @@ -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!( @@ -303,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!( @@ -576,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 1833f1d8fc..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 @@ -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!( @@ -89,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!( @@ -146,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 57d651c671..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 @@ -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!( @@ -150,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!( @@ -200,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!( @@ -279,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!( @@ -339,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 55f0846f2c..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 @@ -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!( @@ -92,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!( @@ -154,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 bd65958130..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 @@ -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!( @@ -89,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!( @@ -146,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 a80505b04f..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 @@ -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!( @@ -129,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!( @@ -228,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 60026d4d62..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 @@ -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!( @@ -114,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!( @@ -198,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 3bb5115fda..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 @@ -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!( @@ -92,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!( @@ -154,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 4b3ad90f1d..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 @@ -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!( @@ -110,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!( @@ -190,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 47aea948bd..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 @@ -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!( @@ -113,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!( @@ -196,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 698aa808a5..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 @@ -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!( @@ -111,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!( @@ -192,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 4e446a1487..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 @@ -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!( @@ -118,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!( @@ -206,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 8ff744842a..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 @@ -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!( @@ -1362,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!( @@ -2694,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 9556f6bca1..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 @@ -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!( @@ -97,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!( @@ -164,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 a9ce7c45c9..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 @@ -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!( @@ -92,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!( @@ -154,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 ea738d6c44..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 @@ -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!( @@ -92,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!( @@ -154,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 dc5129e061..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 @@ -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!( @@ -97,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!( @@ -164,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 6e5945bf1d..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 @@ -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!( @@ -1377,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!( @@ -2724,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 e3738d5ce4..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 @@ -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!( @@ -112,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!( @@ -194,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 567991443d..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 @@ -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!( @@ -114,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!( @@ -198,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 5f0aa8392d..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 @@ -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!( @@ -92,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!( @@ -154,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 d7a597baa1..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 @@ -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!( @@ -92,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!( @@ -154,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 89591874ca..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 @@ -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!( @@ -92,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!( @@ -154,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 c2865db557..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 @@ -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!( @@ -89,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!( @@ -146,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 468043b304..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 @@ -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!( @@ -149,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!( @@ -268,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 dfed16b1c9..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 @@ -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!( @@ -102,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!( @@ -174,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 7a8414592e..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 @@ -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!( @@ -130,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!( @@ -230,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 4909f10081..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 @@ -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!( @@ -130,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!( @@ -230,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 bf62362ca3..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 @@ -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!( @@ -119,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!( @@ -208,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 879eed7067..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 @@ -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!( @@ -195,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!( @@ -360,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 736d52bbe1..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 @@ -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!( @@ -160,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!( @@ -290,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 c5e0638d3d..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 @@ -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!( @@ -150,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!( @@ -270,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 717c5362ff..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 @@ -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!( @@ -155,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!( @@ -280,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 b32c159291..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 @@ -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!( @@ -144,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!( @@ -258,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 6a4f86516e..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 @@ -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!( @@ -150,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!( @@ -270,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 b47a680095..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 @@ -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!( @@ -140,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!( @@ -250,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 dc39c34bd7..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 @@ -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!( @@ -129,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!( @@ -228,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 42a3ef94f3..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 @@ -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!( @@ -139,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!( @@ -248,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 f2be1f7a8d..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 @@ -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!( @@ -129,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!( @@ -228,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 7a08da614e..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 @@ -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!( @@ -122,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!( @@ -214,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 51f16478ba..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 @@ -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!( @@ -108,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!( @@ -186,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 7c921ce2fb..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 @@ -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!( @@ -132,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!( @@ -234,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 ef711be311..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 @@ -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!( @@ -154,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!( @@ -278,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 eca57e9fa0..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 @@ -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!( @@ -263,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!( @@ -496,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 7d14f3e74e..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 @@ -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!( @@ -130,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!( @@ -230,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 de5e077a0d..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 @@ -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!( @@ -119,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!( @@ -208,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 1e6efb2425..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 @@ -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!( @@ -180,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!( @@ -330,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 e401fb5ea8..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 @@ -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!( @@ -111,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!( @@ -192,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 65fc376be7..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 @@ -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!( @@ -346,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!( @@ -399,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!( @@ -452,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!( @@ -505,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!( @@ -558,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!( @@ -611,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!( @@ -687,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!( @@ -754,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!( @@ -821,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!( @@ -888,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!( @@ -955,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!( @@ -1022,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 c8d208ee6c..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 @@ -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!( @@ -114,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!( @@ -198,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 0c1df513fb..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 @@ -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!( @@ -97,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!( @@ -164,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 881a74bf03..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 @@ -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!( @@ -393,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!( @@ -466,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!( @@ -539,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!( @@ -612,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!( @@ -685,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!( @@ -780,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!( @@ -866,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!( @@ -952,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!( @@ -1038,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!( @@ -1124,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 7d51152b46..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 @@ -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!( @@ -795,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!( @@ -868,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!( @@ -941,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!( @@ -1014,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!( @@ -1087,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!( @@ -1160,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!( @@ -1233,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!( @@ -1306,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!( @@ -1379,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!( @@ -1452,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!( @@ -1525,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!( @@ -1620,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!( @@ -1706,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!( @@ -1792,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!( @@ -1878,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!( @@ -1964,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!( @@ -2050,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!( @@ -2136,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!( @@ -2222,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!( @@ -2308,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!( @@ -2394,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!( @@ -2480,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 86dfe29cec..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 @@ -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!( @@ -109,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!( @@ -188,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 85cd4f9b7d..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 @@ -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!( @@ -418,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!( @@ -496,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!( @@ -574,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!( @@ -652,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!( @@ -730,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!( @@ -830,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!( @@ -921,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!( @@ -1012,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!( @@ -1103,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!( @@ -1194,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 a258f7826a..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 @@ -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!( @@ -830,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!( @@ -904,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!( @@ -978,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!( @@ -1052,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!( @@ -1126,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!( @@ -1200,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!( @@ -1278,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!( @@ -1356,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!( @@ -1434,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!( @@ -1512,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!( @@ -1590,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!( @@ -1690,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!( @@ -1777,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!( @@ -1864,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!( @@ -1951,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!( @@ -2038,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!( @@ -2125,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!( @@ -2216,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!( @@ -2307,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!( @@ -2398,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!( @@ -2489,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!( @@ -2580,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 64c92fdb5f..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 @@ -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!( @@ -124,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!( @@ -218,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 1c46ec643d..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 @@ -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!( @@ -607,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!( @@ -675,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!( @@ -743,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!( @@ -811,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!( @@ -879,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!( @@ -947,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!( @@ -1015,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!( @@ -1083,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!( @@ -1151,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!( @@ -1240,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!( @@ -1320,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!( @@ -1400,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!( @@ -1480,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!( @@ -1560,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!( @@ -1640,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!( @@ -1720,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!( @@ -1800,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!( @@ -1880,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 be7345d977..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 @@ -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!( @@ -313,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!( @@ -371,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!( @@ -429,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!( @@ -487,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!( @@ -545,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!( @@ -624,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!( @@ -694,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!( @@ -764,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!( @@ -834,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!( @@ -904,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 55ea238d32..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 @@ -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!( @@ -619,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!( @@ -677,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!( @@ -735,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!( @@ -793,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!( @@ -851,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!( @@ -909,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!( @@ -967,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!( @@ -1025,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!( @@ -1083,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!( @@ -1141,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!( @@ -1199,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!( @@ -1278,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!( @@ -1348,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!( @@ -1418,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!( @@ -1488,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!( @@ -1558,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!( @@ -1628,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!( @@ -1698,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!( @@ -1768,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!( @@ -1838,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!( @@ -1908,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!( @@ -1978,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 968dc2d517..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 @@ -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!( @@ -313,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!( @@ -371,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!( @@ -429,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!( @@ -487,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!( @@ -545,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!( @@ -624,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!( @@ -694,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!( @@ -764,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!( @@ -834,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!( @@ -904,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 703e904ed3..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 @@ -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!( @@ -328,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!( @@ -401,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!( @@ -474,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!( @@ -547,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!( @@ -642,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!( @@ -729,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!( @@ -816,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!( @@ -902,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 da4e33fb9c..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 @@ -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!( @@ -151,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!( @@ -272,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 b1796d3280..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 @@ -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!( @@ -152,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!( @@ -274,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 d8a24e8cbd..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 @@ -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!( @@ -795,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!( @@ -868,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!( @@ -941,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!( @@ -1014,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!( @@ -1087,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!( @@ -1160,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!( @@ -1233,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!( @@ -1306,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!( @@ -1379,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!( @@ -1452,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!( @@ -1525,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!( @@ -1620,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!( @@ -1706,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!( @@ -1792,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!( @@ -1878,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!( @@ -1964,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!( @@ -2050,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!( @@ -2136,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!( @@ -2222,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!( @@ -2308,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!( @@ -2394,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!( @@ -2480,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 b8b8e5c7be..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 @@ -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!( @@ -125,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!( @@ -220,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 bca0b78493..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 @@ -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!( @@ -423,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!( @@ -501,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!( @@ -579,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!( @@ -657,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!( @@ -735,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!( @@ -836,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!( @@ -928,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!( @@ -1020,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!( @@ -1112,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!( @@ -1204,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 8fd6eeb717..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 @@ -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!( @@ -151,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!( @@ -272,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 d095aaaec8..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 @@ -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!( @@ -151,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!( @@ -272,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 e9d2e1ec6a..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 @@ -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!( @@ -152,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!( @@ -274,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 a74acb0904..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 @@ -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!( @@ -858,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!( @@ -936,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!( @@ -1014,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!( @@ -1092,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!( @@ -1170,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!( @@ -1248,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!( @@ -1326,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!( @@ -1404,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!( @@ -1482,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!( @@ -1560,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!( @@ -1638,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!( @@ -1739,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!( @@ -1830,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!( @@ -1922,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!( @@ -2014,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!( @@ -2106,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!( @@ -2197,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!( @@ -2289,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!( @@ -2381,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!( @@ -2472,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!( @@ -2564,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!( @@ -2656,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 0194218f1a..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 @@ -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!( @@ -131,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!( @@ -232,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 31aa9269ed..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 @@ -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!( @@ -212,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!( @@ -394,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 02ee4fb70f..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 @@ -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!( @@ -198,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!( @@ -366,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 e1669a67fe..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 @@ -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!( @@ -126,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!( @@ -222,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 eac81d7d16..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 @@ -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!( @@ -209,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!( @@ -388,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 bfae1f2c5a..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 @@ -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!( @@ -134,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!( @@ -238,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 f51201d8e0..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 @@ -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!( @@ -135,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!( @@ -240,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 596ddca5c3..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 @@ -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!( @@ -135,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!( @@ -240,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 bf57a7280c..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 @@ -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!( @@ -138,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!( @@ -246,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 d84fd72f4b..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 @@ -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!( @@ -274,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!( @@ -352,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!( @@ -430,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!( @@ -530,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!( @@ -621,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!( @@ -712,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 ffbd472626..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 @@ -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!( @@ -389,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!( @@ -462,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!( @@ -535,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!( @@ -604,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!( @@ -677,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!( @@ -772,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!( @@ -858,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!( @@ -944,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!( @@ -1026,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!( @@ -1112,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 3d4778dca9..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 @@ -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!( @@ -138,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!( @@ -246,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 b20aa352d6..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 @@ -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!( @@ -143,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!( @@ -256,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 9bc47488b6..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 @@ -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!( @@ -779,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!( @@ -852,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!( @@ -925,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!( @@ -998,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!( @@ -1071,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!( @@ -1144,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!( @@ -1217,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!( @@ -1286,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!( @@ -1351,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!( @@ -1424,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!( @@ -1493,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!( @@ -1588,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!( @@ -1674,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!( @@ -1760,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!( @@ -1846,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!( @@ -1932,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!( @@ -2018,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!( @@ -2104,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!( @@ -2186,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!( @@ -2264,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!( @@ -2350,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!( @@ -2432,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 3d40cd85bb..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 @@ -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!( @@ -117,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!( @@ -204,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 f0de9d1782..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 @@ -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!( @@ -394,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!( @@ -468,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!( @@ -546,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!( @@ -620,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!( @@ -690,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!( @@ -782,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!( @@ -869,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!( @@ -960,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!( @@ -1047,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!( @@ -1130,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 1299497a8b..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 @@ -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!( @@ -147,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!( @@ -264,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 428f5ed48d..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 @@ -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!( @@ -818,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!( @@ -892,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!( @@ -966,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!( @@ -1040,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!( @@ -1114,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!( @@ -1188,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!( @@ -1266,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!( @@ -1340,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!( @@ -1418,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!( @@ -1492,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!( @@ -1566,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!( @@ -1666,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!( @@ -1753,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!( @@ -1840,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!( @@ -1927,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!( @@ -2014,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!( @@ -2101,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!( @@ -2192,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!( @@ -2279,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!( @@ -2370,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!( @@ -2457,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!( @@ -2544,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 df7b09813a..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 @@ -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!( @@ -126,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!( @@ -222,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 beb062b78c..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 @@ -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!( @@ -139,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!( @@ -248,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 9ce3ee4746..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 @@ -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!( @@ -140,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!( @@ -250,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 c990e63cfc..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 @@ -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!( @@ -168,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!( @@ -306,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 561e6f053b..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 @@ -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!( @@ -173,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!( @@ -316,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 ffdf5bb19f..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 @@ -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!( @@ -178,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!( @@ -326,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 80e1803a67..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 @@ -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!( @@ -184,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!( @@ -338,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 83ac90f72b..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 @@ -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!( @@ -105,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!( @@ -180,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 57fc3c2f9f..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 @@ -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!( @@ -105,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!( @@ -180,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 911034669e..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 @@ -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!( @@ -256,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!( @@ -482,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 319ea5177c..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 @@ -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!( @@ -227,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!( @@ -424,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 91389b2c38..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 @@ -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!( @@ -1102,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!( @@ -1275,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!( @@ -1448,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!( @@ -1621,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!( @@ -1794,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!( @@ -1967,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!( @@ -2169,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!( @@ -2362,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!( @@ -2555,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!( @@ -2748,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!( @@ -2941,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!( @@ -3134,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 289913119b..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 @@ -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!( @@ -253,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!( @@ -476,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 f43beed03e..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 @@ -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!( @@ -253,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!( @@ -476,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 fe22ce8cf2..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 @@ -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!( @@ -261,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!( @@ -492,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 074b375949..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 @@ -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!( @@ -257,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!( @@ -484,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 55d552f8c9..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 @@ -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!( @@ -203,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!( @@ -376,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 f86b02c4da..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 @@ -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!( @@ -194,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!( @@ -358,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 5b44d324ac..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 @@ -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!( @@ -189,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!( @@ -348,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 6324c9b752..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 @@ -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!( @@ -199,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!( @@ -368,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 b0ed888d1f..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 @@ -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!( @@ -204,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!( @@ -378,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 3f9dc37430..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 @@ -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!( @@ -251,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!( @@ -472,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 ddfa75c2a8..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 @@ -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!( @@ -257,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!( @@ -484,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 553d6042b5..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 @@ -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!( @@ -252,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!( @@ -474,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 8fd83f74b2..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 @@ -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!( @@ -251,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!( @@ -472,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 00bc0742a8..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 @@ -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!( @@ -187,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!( @@ -344,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 3e5e26f5f5..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 @@ -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!( @@ -194,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!( @@ -358,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 a029ee2f1f..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 @@ -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!( @@ -189,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!( @@ -348,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 f3098639c5..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 @@ -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!( @@ -114,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!( @@ -198,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 cffa7e114f..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 @@ -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!( @@ -179,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!( @@ -328,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 00778ca596..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 @@ -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!( @@ -130,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!( @@ -230,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 4c0d2d3f6d..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 @@ -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!( @@ -125,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!( @@ -220,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 44dbbc6700..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 @@ -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!( @@ -135,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!( @@ -240,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 0ddcfa0457..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 @@ -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!( @@ -142,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!( @@ -254,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 d41fe08619..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 @@ -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!( @@ -872,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!( @@ -1630,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!( @@ -1721,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!( @@ -2491,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 8456761306..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 @@ -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!( @@ -1134,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!( @@ -1397,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!( @@ -1480,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!( @@ -1743,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!( @@ -1826,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!( @@ -2029,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!( @@ -2258,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!( @@ -2534,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!( @@ -2634,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!( @@ -2910,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!( @@ -3009,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!( @@ -3228,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 cb2708a1ef..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 @@ -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!( @@ -1267,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!( @@ -1560,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!( @@ -1733,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!( @@ -2026,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!( @@ -2199,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!( @@ -2518,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!( @@ -2825,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!( @@ -3015,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!( @@ -3322,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!( @@ -3512,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 6137d5ba34..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 @@ -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!( @@ -1144,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!( @@ -1397,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!( @@ -1570,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!( @@ -1823,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!( @@ -1996,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!( @@ -2274,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!( @@ -2541,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!( @@ -2730,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!( @@ -2997,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!( @@ -3186,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 90053e734a..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 @@ -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!( @@ -719,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!( @@ -1408,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 5ac542b51b..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 @@ -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!( @@ -755,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!( @@ -1480,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 b92b0d634f..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 @@ -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!( @@ -104,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!( @@ -178,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 d92a653854..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 @@ -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!( @@ -102,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!( @@ -174,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 cc63b7ae63..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 @@ -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!( @@ -109,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!( @@ -188,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 3ca9d37de3..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 @@ -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!( @@ -130,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!( @@ -230,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 f8da4a88fa..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 @@ -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!( @@ -124,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!( @@ -218,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 1c850fa0fa..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 @@ -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!( @@ -89,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!( @@ -146,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 f4c8ba48ca..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 @@ -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!( @@ -1358,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!( @@ -2686,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 32939da166..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 @@ -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!( @@ -102,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!( @@ -174,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 97f1c491c1..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 @@ -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!( @@ -109,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!( @@ -188,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 96714fffe0..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 @@ -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!( @@ -99,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!( @@ -168,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 3697131f5a..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 @@ -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!( @@ -89,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!( @@ -146,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 efc26887ec..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 @@ -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!( @@ -89,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!( @@ -146,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 2a54ce7ee4..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 @@ -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!( @@ -338,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!( @@ -401,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!( @@ -464,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!( @@ -527,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!( @@ -590,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!( @@ -674,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!( @@ -749,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!( @@ -824,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!( @@ -899,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!( @@ -974,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 ef07673071..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 @@ -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!( @@ -170,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!( @@ -310,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 417a69e095..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 @@ -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!( @@ -296,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!( @@ -339,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!( @@ -382,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!( @@ -425,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!( @@ -468,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!( @@ -511,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!( @@ -554,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!( @@ -616,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!( @@ -669,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!( @@ -722,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!( @@ -775,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!( @@ -828,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!( @@ -881,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!( @@ -934,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 8f81867651..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 @@ -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!( @@ -89,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!( @@ -146,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 c1fecb8c3c..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 @@ -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!( @@ -102,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!( @@ -174,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 d80b43e3f2..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 @@ -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!( @@ -107,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!( @@ -184,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 e4460c1059..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 @@ -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!( @@ -202,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!( @@ -374,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 a24405aaa0..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 @@ -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!( @@ -89,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!( @@ -146,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 6c07b09ffa..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 @@ -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!( @@ -223,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!( @@ -416,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 b0a6ab2752..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 @@ -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!( @@ -92,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!( @@ -154,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 ba0cebd090..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 @@ -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!( @@ -89,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!( @@ -146,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 010ee41bdc..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 @@ -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!( @@ -92,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!( @@ -154,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 4cf3979d45..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 @@ -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!( @@ -89,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!( @@ -146,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 f364ffcfed..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 @@ -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!( @@ -1277,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!( @@ -2524,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 99410c7266..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 @@ -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!( @@ -1292,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!( @@ -2554,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 27305ec49a..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 @@ -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!( @@ -603,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!( @@ -658,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!( @@ -713,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!( @@ -768,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!( @@ -823,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!( @@ -878,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!( @@ -933,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!( @@ -988,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!( @@ -1043,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!( @@ -1098,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!( @@ -1153,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!( @@ -1236,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!( @@ -1304,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!( @@ -1372,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!( @@ -1440,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!( @@ -1508,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!( @@ -1576,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!( @@ -1644,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!( @@ -1712,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!( @@ -1780,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!( @@ -1848,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!( @@ -1916,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 0264bba52f..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 @@ -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!( @@ -437,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!( @@ -581,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!( @@ -705,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!( @@ -854,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!( @@ -1012,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!( @@ -1150,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 13c1399201..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 @@ -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!( @@ -772,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!( @@ -896,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!( @@ -1020,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!( @@ -1144,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!( @@ -1268,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!( @@ -1392,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!( @@ -1539,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!( @@ -1677,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!( @@ -1815,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!( @@ -1953,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!( @@ -2091,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!( @@ -2229,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 47d5729914..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 @@ -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!( @@ -138,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!( @@ -246,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 f4c11038c2..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 @@ -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!( @@ -404,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!( @@ -777,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 453d66b281..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 @@ -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!( @@ -111,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!( @@ -191,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 cb7247e8b8..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 @@ -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!( @@ -124,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!( @@ -217,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 9f8ccf7dac..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 @@ -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!( @@ -246,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!( @@ -462,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 e851d31cfe..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 @@ -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!( @@ -87,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!( @@ -144,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 c37e83b188..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 @@ -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!( @@ -92,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!( @@ -154,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 14536188ab..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 @@ -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!( @@ -320,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!( @@ -382,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!( @@ -438,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!( @@ -494,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!( @@ -550,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!( @@ -631,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!( @@ -707,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!( @@ -777,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!( @@ -846,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!( @@ -916,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 9892bbf5cf..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 @@ -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!( @@ -103,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!( @@ -176,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 84a072635b..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 @@ -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!( @@ -111,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!( @@ -192,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 3f1846968b..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 @@ -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!( @@ -111,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!( @@ -192,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 6ceaa4b674..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 @@ -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!( @@ -117,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!( @@ -204,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 e9f0cae369..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 @@ -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!( @@ -89,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!( @@ -146,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 4e5f8b4431..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 @@ -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!( @@ -106,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!( @@ -182,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 ef37266986..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 @@ -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!( @@ -116,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!( @@ -202,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 04d79e29f0..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 @@ -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!( @@ -220,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!( @@ -410,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 85c892ce47..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 @@ -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!( @@ -795,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!( @@ -1560,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 5ca2758942..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 @@ -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!( @@ -749,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!( @@ -1468,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 4dc7428b3c..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 @@ -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!( @@ -1367,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!( @@ -2704,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 fd1b528348..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 @@ -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!( @@ -507,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!( @@ -984,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 2210098dc0..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 @@ -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!( @@ -1376,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!( @@ -2722,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 27f04b8279..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 @@ -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!( @@ -507,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!( @@ -984,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 af4a91e561..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 @@ -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!( @@ -625,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!( @@ -1220,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 507ae01ca8..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 @@ -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!( @@ -642,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!( @@ -1254,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 553d7f0a03..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 @@ -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!( @@ -652,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!( @@ -1274,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 dc05276802..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 @@ -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!( @@ -1322,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!( @@ -2614,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 d6674523e4..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 @@ -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!( @@ -1322,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!( @@ -2614,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 39fa2d5fd8..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 @@ -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!( @@ -942,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!( @@ -1854,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 ab0c657f19..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 @@ -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!( @@ -177,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!( @@ -324,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 aab6ea8e75..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 @@ -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!( @@ -1362,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!( @@ -2694,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 9ae71feee5..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 @@ -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!( @@ -911,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!( @@ -1792,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 028a7de015..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 @@ -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!( @@ -369,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!( @@ -558,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!( @@ -714,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!( @@ -916,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 1b632e349b..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 @@ -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!( @@ -941,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!( @@ -1852,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 193fc049a5..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 @@ -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!( @@ -821,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!( @@ -1612,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 e6d491135a..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 @@ -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!( @@ -172,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!( @@ -314,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 d71be32c45..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 @@ -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!( @@ -177,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!( @@ -324,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 01546b6c2b..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 @@ -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!( @@ -143,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!( @@ -256,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 65f1bb3d9c..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 @@ -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!( @@ -171,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!( @@ -312,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 943bcf4b83..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 @@ -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!( @@ -850,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!( @@ -1670,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 67efbb051e..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 @@ -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!( @@ -256,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!( @@ -482,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 f1d496de4e..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 @@ -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!( @@ -1081,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!( @@ -2132,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 756856b633..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 @@ -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!( @@ -202,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!( @@ -374,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 3f91b3be74..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 @@ -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!( @@ -769,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!( @@ -1508,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 01ca8c9db0..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 @@ -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!( @@ -786,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!( @@ -1542,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 aa79dc33cc..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 @@ -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!( @@ -160,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!( @@ -290,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 639b789b45..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 @@ -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!( @@ -135,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!( @@ -240,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 f613b8a071..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 @@ -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!( @@ -140,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!( @@ -250,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 402fc4c7e5..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 @@ -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!( @@ -101,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!( @@ -172,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 90d471373a..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 @@ -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!( @@ -102,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!( @@ -174,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 4d5eae45a8..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 @@ -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!( @@ -111,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!( @@ -192,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 c98e7cc2c7..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 @@ -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!( @@ -109,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!( @@ -188,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 16eafa7b66..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 @@ -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!( @@ -236,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!( @@ -304,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!( @@ -448,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!( @@ -529,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 ffe7cf87cf..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 @@ -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!( @@ -126,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!( @@ -169,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!( @@ -231,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!( @@ -284,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 9c3868fca5..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 @@ -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!( @@ -92,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!( @@ -154,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 ee98761595..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 @@ -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!( @@ -124,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!( @@ -218,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 1be02af644..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 @@ -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!( @@ -99,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!( @@ -168,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 c98253c9dc..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 @@ -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!( @@ -129,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!( @@ -228,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 17d8b1bfba..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 @@ -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!( @@ -146,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!( @@ -199,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!( @@ -271,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!( @@ -334,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 1e54f4c1ba..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 @@ -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!( @@ -242,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!( @@ -360,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!( @@ -460,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!( @@ -591,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 b36fe1cd90..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 @@ -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!( @@ -1022,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!( @@ -2014,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 7e0bb7f619..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 @@ -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!( @@ -160,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!( @@ -290,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 7e90d6abe6..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 @@ -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!( @@ -1284,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!( @@ -2538,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 8b978df6f2..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 @@ -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!( @@ -135,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!( @@ -240,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 5ca43dd88c..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 @@ -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!( @@ -140,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!( @@ -250,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 7c70720bdb..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 @@ -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!( @@ -135,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!( @@ -240,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 3a8dd220d8..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 @@ -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!( @@ -2892,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!( @@ -4190,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!( @@ -4499,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!( @@ -4808,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!( @@ -5117,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!( @@ -5426,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!( @@ -5769,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!( @@ -7083,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!( @@ -7408,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!( @@ -7733,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!( @@ -8058,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!( @@ -8383,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 9398680091..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 @@ -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!( @@ -802,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!( @@ -1574,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 8e2ea3791e..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 @@ -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!( @@ -828,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!( @@ -987,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!( @@ -1146,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!( @@ -1305,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!( @@ -1464,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!( @@ -1646,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!( @@ -1819,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!( @@ -1992,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!( @@ -2165,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!( @@ -2338,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 4cbf0c3aa4..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 @@ -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!( @@ -217,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!( @@ -404,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 181ead9570..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 @@ -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!( @@ -1240,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!( @@ -1443,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!( @@ -1646,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!( @@ -1849,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!( @@ -2048,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!( @@ -2247,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!( @@ -2470,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!( @@ -2688,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!( @@ -2906,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!( @@ -3124,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!( @@ -3338,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!( @@ -3552,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 df461a126e..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 @@ -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!( @@ -1377,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!( @@ -2724,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 f4ef0f93a3..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 @@ -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!( @@ -102,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!( @@ -174,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 61df91279f..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 @@ -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!( @@ -109,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!( @@ -188,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!( 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 )), } } diff --git a/scripts/ci_prepare_python.bash b/scripts/ci_prepare_python.bash index 5669a56a96..28c8d1f806 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 22.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 22.04) sudo apt-get install -y \ build-essential \ zlib1g-dev \ @@ -24,10 +27,11 @@ 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 diff --git a/scripts/ci_prepare_rust.bash b/scripts/ci_prepare_rust.bash index e19149fa1a..c6297bef59 100755 --- a/scripts/ci_prepare_rust.bash +++ b/scripts/ci_prepare_rust.bash @@ -7,7 +7,7 @@ if [ "$RUNNER_OS" == "Linux" ]; then 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 + echo "Nothing to do for macOS" elif [ "$RUNNER_OS" == "Windows" ]; then echo "C:\msys64\mingw64\bin" >>"$GITHUB_PATH" else