Skip to content

Commit

Permalink
πŸ› fix unwanted build error
Browse files Browse the repository at this point in the history
  • Loading branch information
tmatis committed Nov 5, 2023
1 parent 661032b commit 46599fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libft/includes/ft_test.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,10 @@ extern tests_tracker test_tracker;
" is " C_BOLD C_RED "equal" C_RESET);

#define assert_string_equal(a, b) \
if (!a) \
if ((uintptr_t)NULL == (uintptr_t)a) \
fail("Assertion failed: " C_BOLD "assert_string_equal(" #a ", " #b ") " C_RESET #a \
" is " C_BOLD C_RED "null" C_RESET); \
else if (!b) \
else if ((uintptr_t)NULL == (uintptr_t)n) \
fail("Assertion failed: " C_BOLD "assert_string_equal(" #a ", " #b ") " C_RESET #b \
" is " C_BOLD C_RED "null" C_RESET); \
else if (ft_strcmp(a, b) == 0) \
Expand Down

0 comments on commit 46599fb

Please sign in to comment.