From 51f8a9514a80f95cadabc34ea6aea159deec5aa2 Mon Sep 17 00:00:00 2001 From: Beej Jorgensen Date: Thu, 6 Dec 2018 21:30:11 -0800 Subject: [PATCH] add missing semicolons --- src/cache_tests/cache_tests.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cache_tests/cache_tests.c b/src/cache_tests/cache_tests.c index e4b37e357..5e245d005 100644 --- a/src/cache_tests/cache_tests.c +++ b/src/cache_tests/cache_tests.c @@ -38,7 +38,7 @@ char *test_cache_alloc_entry() mu_assert(check_strings(ce->path, path) == 0, "Your alloc_entry function did not allocate the path field to the expected string"); mu_assert(check_strings(ce->content_type, content_type) == 0, "Your alloc_entry function did not allocate the content_type field to the expected string"); mu_assert(check_strings(ce->content, content) == 0, "Your alloc_entry function did not allocate the content field to the expected string"); - mu_assert(ce->content_length == content_len, "Your alloc_entry function did not allocate the content_length field to the expected length") + mu_assert(ce->content_length == content_len, "Your alloc_entry function did not allocate the content_length field to the expected length"); free_entry(ce); @@ -61,7 +61,7 @@ char *test_cache_put() mu_assert(cache->cur_size == 1, "Your cache_put function did not correctly increment the cur_size field when adding a new cache entry"); mu_assert(cache->head->prev == NULL && cache->tail->next == NULL, "The head and tail of your cache should have NULL prev and next pointers when a new entry is put in an empty cache"); mu_assert(check_cache_entries(cache->head, test_entry_1) == 0, "Your cache_put function did not put an entry into the head of the empty cache with the expected form"); - mu_assert(check_cache_entries(cache->tail, test_entry_1) == 0, "Your cache_put function did not put an entry into the tail of the empty cache with the expected form") + mu_assert(check_cache_entries(cache->tail, test_entry_1) == 0, "Your cache_put function did not put an entry into the tail of the empty cache with the expected form"); mu_assert(check_cache_entries(hashtable_get(cache->index, "/1"), test_entry_1) == 0, "Your cache_put function did not put the expected entry into the hashtable"); // Add in a second entry to the cache