summaryrefslogtreecommitdiff
path: root/src/02/05/stack_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/02/05/stack_test.c')
-rw-r--r--src/02/05/stack_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/02/05/stack_test.c b/src/02/05/stack_test.c
index 8f1471b..c2ec4c2 100644
--- a/src/02/05/stack_test.c
+++ b/src/02/05/stack_test.c
@@ -10,6 +10,7 @@ Ensure(Stack, when_pushing_an_item_on_to_a_stack) {
Stack *stack = stack_init(10);
assert_that(stack_size(stack), is_equal_to(1));
+ assert_that(stack_peek(stack), is_equal_to(10));
}
TestSuite *stack_tests() {