Removed redundant type switches

This commit is contained in:
2026-08-28 11:23:26 -05:00
parent 128c31cd5e
commit fa5c39c83f
+1 -3
View File
@@ -209,12 +209,10 @@ microtest_should_decompose_macro(
malunal_uint8_t : "%hhu", \ malunal_uint8_t : "%hhu", \
malunal_uint16_t : "%hu", \ malunal_uint16_t : "%hu", \
malunal_uint32_t : "%u", \ malunal_uint32_t : "%u", \
malunal_uintptr_t : "%lu", \
malunal_uint64_t : "%llu", \ malunal_uint64_t : "%llu", \
malunal_int8_t : "'%c'", \ malunal_int8_t : "'%c'", \
malunal_int16_t : "%hd", \ malunal_int16_t : "%hd", \
malunal_int32_t : "%d", \ malunal_int32_t : "%d", \
malunal_intptr_t : "%ld", \
malunal_int64_t : "%lld", \ malunal_int64_t : "%lld", \
float : "%f", \ float : "%f", \
double : "%f", \ double : "%f", \
@@ -284,7 +282,7 @@ microtest_should_decompose_macro(
microtest_printf("\n"); \ microtest_printf("\n"); \
microtest_printf(" Actual : %s", #actual); \ microtest_printf(" Actual : %s", #actual); \
microtest_printf(" == "); \ microtest_printf(" == "); \
microtest_overload_printer(#actual); \ microtest_overload_printer(actual); \
microtest_printf("\n"); \ microtest_printf("\n"); \
handler; \ handler; \
if (microtest_should_abort_test) \ if (microtest_should_abort_test) \