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:
Janos Follath 2019-11-29 09:16:07 +00:00
parent 6608e71032
commit 512fe9673f

View file

@ -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 );
} }