From 04822e0ea5d0590174c614170cac5d4b40e6fc90 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 28 Jan 2025 15:03:45 -0500 Subject: [PATCH] spelling: malformed Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- .../fw/comm/test_gatt_service_changed_client.c | 2 +- tests/fw/services/test_music_endpoint.c | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/tests/fw/comm/test_gatt_service_changed_client.c b/tests/fw/comm/test_gatt_service_changed_client.c index dd7e0ec6..1bd77f5c 100644 --- a/tests/fw/comm/test_gatt_service_changed_client.c +++ b/tests/fw/comm/test_gatt_service_changed_client.c @@ -222,7 +222,7 @@ void test_gatt_service_changed_client__handle_indication_service_changed(void) { fake_gatt_is_service_discovery_start_count()); } -void test_gatt_service_changed_client__handle_indication_service_changed_malformatted(void) { +void test_gatt_service_changed_client__handle_indication_service_changed_malformed(void) { fake_gatt_put_discovery_indication_gatt_profile_service(TEST_GATT_CONNECTION_ID, true /* has_service_changed_characteristic */); const uint16_t att_handle = fake_gatt_gatt_profile_service_service_changed_att_handle(); diff --git a/tests/fw/services/test_music_endpoint.c b/tests/fw/services/test_music_endpoint.c index b6a3903a..0b0c002e 100644 --- a/tests/fw/services/test_music_endpoint.c +++ b/tests/fw/services/test_music_endpoint.c @@ -296,19 +296,19 @@ void test_music_endpoint__receive_zero_length_now_playing(void) { cl_assert_equal_b(music_has_now_playing(), false); } -void test_music_endpoint__ignore_malformatted_messages(void) { +void test_music_endpoint__ignore_malformed_messages(void) { // Android app connects: prv_receive_app_info_event(true /* is_android */); - const uint8_t malformatted_artist[] = { + const uint8_t malformed_artist[] = { 0x10, 14, 'o', 'n', 'e', 3, 't', 'w', 'o', 5, 't', 'h', 'r', 'e', 'e' }; - const uint8_t malformatted_album[] = { + const uint8_t malformed_album[] = { 0x10, 3, 'o', 'n', 'e', 10, 't', 'w', 'o', 5, 't', 'h', 'r', 'e', 'e' }; - const uint8_t malformatted_title[] = { + const uint8_t malformed_title[] = { 0x10, 3, 'o', 'n', 'e', 3, 't', 'w', 'o', 6, 't', 'h', 'r', 'e', 'e' }; - const uint8_t malformatted_player[] = { + const uint8_t malformed_player[] = { 0x13, 17, 'c', 'o', 'm', '.', 's', 'p', 'o', 't', 'i', 'f', 'y', '.', 'm', 'u', 's', 'i', 'c', 9, 'S', 'p', 'o', 't', 'i', 'f', 'y' }; @@ -316,10 +316,10 @@ void test_music_endpoint__ignore_malformatted_messages(void) { const uint8_t *data; uint16_t length; } test_vectors[] = { - { malformatted_artist, sizeof(malformatted_artist) }, - { malformatted_album, sizeof(malformatted_album) }, - { malformatted_title, sizeof(malformatted_title) }, - { malformatted_player, sizeof(malformatted_player) } + { malformed_artist, sizeof(malformed_artist) }, + { malformed_album, sizeof(malformed_album) }, + { malformed_title, sizeof(malformed_title) }, + { malformed_player, sizeof(malformed_player) } }; for (int i = 0; i < ARRAY_LENGTH(test_vectors); ++i) { prv_receive_pp_data(test_vectors[i].data, test_vectors[i].length);