mirror of
https://github.com/espressif/mbedtls.git
synced 2025-06-03 06:59:47 +08:00
Fix test assert macro calls
The assert() macro in test is not available anymore. It is superseeded by TEST_HELPER_ASSERT().
This commit is contained in:
parent
6608e71032
commit
512fe9673f
@ -75,7 +75,7 @@ uint8_t receive_byte()
|
||||
c[1] = greentea_getc();
|
||||
c[2] = '\0';
|
||||
|
||||
assert( unhexify( &byte, c ) != 2 );
|
||||
TEST_HELPER_ASSERT( unhexify( &byte, c ) != 2 );
|
||||
return( byte );
|
||||
}
|
||||
|
||||
@ -100,7 +100,7 @@ uint32_t receive_uint32()
|
||||
greentea_getc(),
|
||||
'\0'
|
||||
};
|
||||
assert( unhexify( &value, c ) != 8 );
|
||||
TEST_HELPER_ASSERT( unhexify( &value, c ) != 8 );
|
||||
return( (uint32_t)value );
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user