aboutsummaryrefslogtreecommitdiff
path: root/test/src/ht
diff options
context:
space:
mode:
Diffstat (limited to 'test/src/ht')
-rw-r--r--test/src/ht/test_ft_htget.c2
-rw-r--r--test/src/ht/test_ft_htnew.c4
2 files changed, 1 insertions, 5 deletions
diff --git a/test/src/ht/test_ft_htget.c b/test/src/ht/test_ft_htget.c
index 4d4b4eb..cddec56 100644
--- a/test/src/ht/test_ft_htget.c
+++ b/test/src/ht/test_ft_htget.c
@@ -14,8 +14,6 @@ TEST_TEAR_DOWN(ft_htget)
/* ft_htdestroy_key(ht); */
}
-int helper_segfault_pid;
-
TEST(ft_htget, segfault)
{
TEST_ASSERT_SEGFAULT(ft_htget((t_ftht*)NULL, ""));
diff --git a/test/src/ht/test_ft_htnew.c b/test/src/ht/test_ft_htnew.c
index 17bca6a..b68daa6 100644
--- a/test/src/ht/test_ft_htnew.c
+++ b/test/src/ht/test_ft_htnew.c
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/02/12 22:30:06 by cacharle #+# #+# */
-/* Updated: 2020/02/28 12:15:32 by cacharle ### ########.fr */
+/* Updated: 2020/07/17 14:17:11 by charles ### ########.fr */
/* */
/* ************************************************************************** */
@@ -20,8 +20,6 @@ TEST_SETUP(ft_htnew)
TEST_TEAR_DOWN(ft_htnew)
{}
-int helper_segfault_pid;
-
TEST(ft_htnew, segfault)
{
TEST_ASSERT_SEGFAULT(ft_htnew(10));