test/cbi.c: Format with clang-format
BRANCH=none
TEST=none
@@ -162,12 +162,12 @@ DECLARE_EC_TEST(test_all_tags)
zassert_equal(cbi_set_board_info(CBI_TAG_SKU_ID, &d8, sizeof(d8)),
EC_SUCCESS, NULL);
count++;
- zassert_equal(cbi_set_board_info(CBI_TAG_DRAM_PART_NUM,
- string, sizeof(string)),
+ zassert_equal(cbi_set_board_info(CBI_TAG_DRAM_PART_NUM, string,
+ sizeof(string)),
EC_SUCCESS, NULL);
count++;
- zassert_equal(cbi_set_board_info(CBI_TAG_OEM_NAME,
- string, sizeof(string)),
+ zassert_equal(cbi_set_board_info(CBI_TAG_OEM_NAME, string,
+ sizeof(string)),
EC_SUCCESS, NULL);
count++;
zassert_equal(cbi_set_board_info(CBI_TAG_MODEL_ID, &d8, sizeof(d8)),
@@ -176,8 +176,7 @@ DECLARE_EC_TEST(test_all_tags)
zassert_equal(cbi_set_board_info(CBI_TAG_FW_CONFIG, &d8, sizeof(d8)),
EC_SUCCESS, NULL);
count++;
- zassert_equal(cbi_set_board_info(CBI_TAG_PCB_SUPPLIER, &d8,
- sizeof(d8)),
+ zassert_equal(cbi_set_board_info(CBI_TAG_PCB_SUPPLIER, &d8, sizeof(d8)),
EC_SUCCESS, NULL);
count++;
zassert_equal(cbi_set_board_info(CBI_TAG_SSFC, &d8, sizeof(d8)),
@@ -263,24 +262,21 @@ DECLARE_EC_TEST(test_bad_crc)
TEST_SUITE(test_suite_cbi)
{
- ztest_test_suite(test_cbi,
+ ztest_test_suite(
+ test_cbi,
ztest_unit_test_setup_teardown(test_uint8, test_setup,
test_teardown),
ztest_unit_test_setup_teardown(test_uint32, test_setup,
test_teardown),
ztest_unit_test_setup_teardown(test_string, test_setup,
test_teardown),
- ztest_unit_test_setup_teardown(test_not_found,
- test_setup,
+ ztest_unit_test_setup_teardown(test_not_found, test_setup,
test_teardown),
- ztest_unit_test_setup_teardown(test_too_large,
- test_setup,
+ ztest_unit_test_setup_teardown(test_too_large, test_setup,
test_teardown),
- ztest_unit_test_setup_teardown(test_all_tags,
- test_setup,
+ ztest_unit_test_setup_teardown(test_all_tags, test_setup,
test_teardown),
- ztest_unit_test_setup_teardown(test_bad_crc,
- test_setup,
+ ztest_unit_test_setup_teardown(test_bad_crc, test_setup,
test_teardown));
ztest_run_test_suite(test_cbi);
}
