summaryrefslogtreecommitdiff
path: root/zephyr/test/drivers/host_cmd/src/get_pd_port_caps.c
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/test/drivers/host_cmd/src/get_pd_port_caps.c')
-rw-r--r--zephyr/test/drivers/host_cmd/src/get_pd_port_caps.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/zephyr/test/drivers/host_cmd/src/get_pd_port_caps.c b/zephyr/test/drivers/host_cmd/src/get_pd_port_caps.c
index 907329f8a1..2d9410232d 100644
--- a/zephyr/test/drivers/host_cmd/src/get_pd_port_caps.c
+++ b/zephyr/test/drivers/host_cmd/src/get_pd_port_caps.c
@@ -3,14 +3,14 @@
* found in the LICENSE file.
*/
-#include <zephyr/shell/shell.h>
-#include <zephyr/ztest.h>
-
#include "console.h"
#include "ec_commands.h"
#include "test/drivers/test_state.h"
#include "test/drivers/utils.h"
+#include <zephyr/shell/shell.h>
+#include <zephyr/ztest.h>
+
ZTEST_USER(host_cmd_get_pd_port_caps, test_good_index)
{
struct ec_params_get_pd_port_caps params = { .port = 0 };
@@ -50,7 +50,7 @@ static void host_cmd_get_pd_port_caps_begin(void *data)
ARG_UNUSED(data);
/* Assume we have at least one USB-C port */
- zassume_true(board_get_usb_pd_port_count() > 0,
+ zassert_true(board_get_usb_pd_port_count() > 0,
"Insufficient TCPCs found");
}