summaryrefslogtreecommitdiff
path: root/src/kernel/tests/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/tests/util.c')
-rw-r--r--src/kernel/tests/util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kernel/tests/util.c b/src/kernel/tests/util.c
index 81c36d6..45c728e 100644
--- a/src/kernel/tests/util.c
+++ b/src/kernel/tests/util.c
@@ -3,9 +3,9 @@
TEST(memcmp) {
// basic equality checks
- TEST_IF(0 == memcmp("some", "thing", 0))
- TEST_IF(0 != memcmp("some", "thing", 1))
- TEST_IF(0 != memcmp("some", "thing", 4))
+ TEST_IF(0 == memcmp("some", "thing", 0));
+ TEST_IF(0 != memcmp("some", "thing", 1));
+ TEST_IF(0 != memcmp("some", "thing", 4));
TEST_IF(0 == memcmp("test", "tennis", 0));
TEST_IF(0 == memcmp("test", "tennis", 1));