diff --git a/.gitignore b/.gitignore index a7f451b..f3b5883 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,7 @@ **/*.o **/*.a .vscode/ -42sh \ No newline at end of file +42sh +**/*.gcda +**/*.gcno +unit_tests \ No newline at end of file diff --git a/tests/tcd.c b/tests/tcd.c index 04e13b4..217162c 100644 --- a/tests/tcd.c +++ b/tests/tcd.c @@ -26,7 +26,7 @@ Test(cd, home) env->env[i] = strdup(environ[i]); builtin_cd(args, env); - cr_assert_str_eq(getcwd(NULL, 0), my_getenv("HOME")); + cr_assert_str_eq(getcwd(NULL, 0), getenv("HOME")); } Test(cd, absolute)