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
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue