mirror of
https://github.com/yuzu-mirror/mbedtls.git
synced 2026-04-09 00:14:59 +00:00
Merge pull request #7936 from AgathiyanB/assert-false-macro
Add TEST_FAIL macro for tests
This commit is contained in:
commit
e7700a7d0a
12 changed files with 33 additions and 23 deletions
|
|
@ -121,7 +121,7 @@ void mbedtls_byteswap(char *input_str, int size, char *expected_str)
|
|||
r = MBEDTLS_BSWAP64(input);
|
||||
break;
|
||||
default:
|
||||
TEST_ASSERT(!"size must be 16, 32 or 64");
|
||||
TEST_FAIL("size must be 16, 32 or 64");
|
||||
}
|
||||
TEST_EQUAL(r, expected);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue