zephyr/test/drivers/src/temp_sensor.c: Format with clang-format
BRANCH=none
TEST=none
@@ -28,9 +28,8 @@ ZTEST_USER(temp_sensor, test_temp_sensor_wrong_id)
{
int temp;
- zassert_equal(EC_ERROR_INVAL, temp_sensor_read(TEMP_SENSOR_COUNT,
- &temp),
- NULL);
+ zassert_equal(EC_ERROR_INVAL,
+ temp_sensor_read(TEMP_SENSOR_COUNT, &temp), NULL);
}
/** Test error code when temp_sensor_read() is called with powered off ADC */
@@ -85,7 +84,8 @@ static void check_valid_temperature(const struct device *adc_dev, int sensor)
1000),
"adc_emul_const_value_set() failed (sensor %d)", sensor);
zassert_equal(EC_SUCCESS, temp_sensor_read(sensor, &temp), NULL);
- zassert_within(temp, 273 + 50, 51,
+ zassert_within(
+ temp, 273 + 50, 51,
"Expected temperature in 0*C-100*C, got %d*C (sensor %d)",
temp - 273, sensor);
/* Return error on ADC channel of tested sensor */
