aboutsummaryrefslogtreecommitdiff
path: root/test/src/ht/test_ft_htnew.c
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2020-08-02 11:05:33 +0200
committerCharles Cabergs <me@cacharle.xyz>2020-08-02 11:05:33 +0200
commit5d2f925b20ceaea4122c59d2d2c4e7d4ae991fde (patch)
tree80911dc3c32e9f230750e7e1042d413dfb6efab2 /test/src/ht/test_ft_htnew.c
parentee32953ea79616e72f5428cdf40c834714a891c9 (diff)
parentb96b82194ccad2cddbb46b77aa1962a57c47ff44 (diff)
downloadlibft-5d2f925b20ceaea4122c59d2d2c4e7d4ae991fde.tar.gz
libft-5d2f925b20ceaea4122c59d2d2c4e7d4ae991fde.tar.bz2
libft-5d2f925b20ceaea4122c59d2d2c4e7d4ae991fde.zip
Merge branch 'master' into ft_ssl
Diffstat (limited to 'test/src/ht/test_ft_htnew.c')
-rw-r--r--test/src/ht/test_ft_htnew.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/src/ht/test_ft_htnew.c b/test/src/ht/test_ft_htnew.c
index 6b90f03..17bca6a 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/17 04:18:20 by cacharle ### ########.fr */
+/* Updated: 2020/02/28 12:15:32 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
@@ -42,7 +42,7 @@ TEST(ft_htnew, happy_path)
ht = ft_htnew(10);
TEST_ASSERT_NOT_NULL(ht);
TEST_ASSERT_EQUAL(10, ht->size);
- TEST_ASSERT_NOT_NULL(ht->entries);
+ TEST_ASSERT_NOT_NULL(ht->buckets);
for (t_ftsize i = 0; i < ht->size; i++)
- TEST_ASSERT_NULL(ht->entries[i]);
+ TEST_ASSERT_NULL(ht->buckets[i]);
}