diff --git a/tests/components/ble_device_base/test_gatt_client_contract.cpp b/tests/components/ble_device_base/test_gatt_client_contract.cpp index 30cc2d5494..0206b6ecce 100644 --- a/tests/components/ble_device_base/test_gatt_client_contract.cpp +++ b/tests/components/ble_device_base/test_gatt_client_contract.cpp @@ -109,7 +109,8 @@ TEST_F(ServiceTableLookup, FindsServicesAndCharacteristicsByUuid) { EXPECT_EQ(service->start_handle, 0x0010); EXPECT_EQ(find_service(this->table_, ESPBTUUID::from_uint16(0xFFFF)), nullptr); - const GattCharacteristic *characteristic = find_characteristic(this->table_, *service, ESPBTUUID::from_uint16(0x1525)); + const GattCharacteristic *characteristic = + find_characteristic(this->table_, *service, ESPBTUUID::from_uint16(0x1525)); ASSERT_NE(characteristic, nullptr); EXPECT_EQ(characteristic->value_handle, 0x0012); // The lookup is scoped to the service: 0x2A00 lives in the other service.