mirror of
https://codeberg.org/la-chouette/minishell.git
synced 2025-12-06 07:28:09 +01:00
tests: also show debug info for succeeding assertions
This reminds us of all the good stuff we already acomplished!
This commit is contained in:
parent
65b57987b5
commit
db0abe82cc
1 changed files with 2 additions and 3 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/* By: khais <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/02/13 15:21:09 by khais #+# #+# */
|
||||
/* Updated: 2025/02/13 15:57:00 by khais ### ########.fr */
|
||||
/* Updated: 2025/02/14 18:07:01 by khais ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -18,7 +18,6 @@ void assert_strequal(char *str1, char *str2)
|
|||
int ret;
|
||||
|
||||
ret = ft_strcmp(str1, str2);
|
||||
if (ret != 0)
|
||||
ft_dprintf(STDERR_FILENO, "Expected '%s' to eq '%s'\n", str1, str2);
|
||||
assert(ret == 0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue