mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-10 07:36:28 -04: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[1] = greentea_getc();
|
||||||
c[2] = '\0';
|
c[2] = '\0';
|
||||||
|
|
||||||
assert( unhexify( &byte, c ) != 2 );
|
TEST_HELPER_ASSERT( unhexify( &byte, c ) != 2 );
|
||||||
return( byte );
|
return( byte );
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -100,7 +100,7 @@ uint32_t receive_uint32()
|
|||||||
greentea_getc(),
|
greentea_getc(),
|
||||||
'\0'
|
'\0'
|
||||||
};
|
};
|
||||||
assert( unhexify( &value, c ) != 8 );
|
TEST_HELPER_ASSERT( unhexify( &value, c ) != 8 );
|
||||||
return( (uint32_t)value );
|
return( (uint32_t)value );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user