tests: ztest: Use ztest_test_fail() when needed
Instead of compare true to false use correctly defined function ztest_test_fail(). Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
parent
c866c586ab
commit
4d2bdf59db
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ ZTEST(framework_tests, test_assert_mem_equal)
|
|||
ZTEST(framework_tests, test_skip_config)
|
||||
{
|
||||
Z_TEST_SKIP_IFDEF(CONFIG_BUGxxxxx);
|
||||
zassert_true(false, NULL);
|
||||
ztest_test_fail();
|
||||
}
|
||||
|
||||
ZTEST(framework_tests, test_skip_no_config)
|
||||
|
|
|
|||
Loading…
Reference in a new issue