summaryrefslogtreecommitdiff
path: root/src/02/04
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-08-03 15:57:46 -0600
committermo khan <mo.khan@gmail.com>2020-08-03 15:57:46 -0600
commit1a22ef17fa7056b2be7fecd3eecad2a5a36c780d (patch)
tree92ad763a00a3abee2d9bf86a9f76d83f5a2301b0 /src/02/04
parent48c2554c49929c31168ec4448e9d20154422dd84 (diff)
Run clang formatter
Diffstat (limited to 'src/02/04')
-rw-r--r--src/02/04/hash_test.c3
-rw-r--r--src/02/04/list.c1
-rw-r--r--src/02/04/main.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/02/04/hash_test.c b/src/02/04/hash_test.c
index b10e9e1..1157c4e 100644
--- a/src/02/04/hash_test.c
+++ b/src/02/04/hash_test.c
@@ -63,7 +63,8 @@ TestSuite *hash_table_tests() {
add_test_with_context(suite, HashTable,
when_getting_a_values_for_a_key_that_has_been_inserted);
add_test_with_context(suite, HashTable, when_a_hash_collision_occurs);
- add_test_with_context(suite, HashTable, when_inserting_multiple_items_into_the_hash_table);
+ add_test_with_context(suite, HashTable,
+ when_inserting_multiple_items_into_the_hash_table);
return suite;
}
diff --git a/src/02/04/list.c b/src/02/04/list.c
index 99f8c83..cfc3b2c 100644
--- a/src/02/04/list.c
+++ b/src/02/04/list.c
@@ -48,7 +48,6 @@ void list_inspect(Node *self, Printer printer) {
printf("[");
while (self) {
printer(self->data);
- /*printf(" %p ", self->data);*/
self = self->next;
}
printf("]\n");
diff --git a/src/02/04/main.c b/src/02/04/main.c
index 0db6346..4dacb08 100644
--- a/src/02/04/main.c
+++ b/src/02/04/main.c
@@ -1,5 +1,5 @@
-#include <stdio.h>
#include "hash.h"
+#include <stdio.h>
int main(int argc, char *argv[]) {
printf("=== COMP-272 - Assignment 02 - Question 04 ===\n");