Removed redundant type switches
This commit is contained in:
@@ -209,12 +209,10 @@ microtest_should_decompose_macro(
|
||||
malunal_uint8_t : "%hhu", \
|
||||
malunal_uint16_t : "%hu", \
|
||||
malunal_uint32_t : "%u", \
|
||||
malunal_uintptr_t : "%lu", \
|
||||
malunal_uint64_t : "%llu", \
|
||||
malunal_int8_t : "'%c'", \
|
||||
malunal_int16_t : "%hd", \
|
||||
malunal_int32_t : "%d", \
|
||||
malunal_intptr_t : "%ld", \
|
||||
malunal_int64_t : "%lld", \
|
||||
float : "%f", \
|
||||
double : "%f", \
|
||||
@@ -284,7 +282,7 @@ microtest_should_decompose_macro(
|
||||
microtest_printf("\n"); \
|
||||
microtest_printf(" Actual : %s", #actual); \
|
||||
microtest_printf(" == "); \
|
||||
microtest_overload_printer(#actual); \
|
||||
microtest_overload_printer(actual); \
|
||||
microtest_printf("\n"); \
|
||||
handler; \
|
||||
if (microtest_should_abort_test) \
|
||||
|
||||
Reference in New Issue
Block a user