diff options
Diffstat (limited to 'zephyr/test/drivers/default/src/console_cmd/tcpci_dump.c')
-rw-r--r-- | zephyr/test/drivers/default/src/console_cmd/tcpci_dump.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/zephyr/test/drivers/default/src/console_cmd/tcpci_dump.c b/zephyr/test/drivers/default/src/console_cmd/tcpci_dump.c index 9652519cab..fc8533280b 100644 --- a/zephyr/test/drivers/default/src/console_cmd/tcpci_dump.c +++ b/zephyr/test/drivers/default/src/console_cmd/tcpci_dump.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(console_cmd_tcpci_dump, test_no_params) { int rv = shell_execute_cmd(get_ec_shell(), "tcpci_dump"); @@ -38,7 +38,7 @@ static void console_cmd_tcpci_dump_begin(void *data) ARG_UNUSED(data); /* Assume we have at least one TCPC */ - zassume_true(board_get_charger_chip_count() > 0, + zassert_true(board_get_charger_chip_count() > 0, "Insufficient TCPCs found"); } |