From 388151741be9622a80a8161dd2cbea1be8bd18a2 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sun, 19 Sep 2021 21:25:09 +0200 Subject: remove the unused static_strcmp macro --- src/kernel/tests/util.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/kernel/tests') diff --git a/src/kernel/tests/util.c b/src/kernel/tests/util.c index 67ff1c4..b5fa4dd 100644 --- a/src/kernel/tests/util.c +++ b/src/kernel/tests/util.c @@ -21,19 +21,6 @@ TEST(memcmp) { TEST_COND(0 < memcmp("654", "555", 3)); } -TEST(static_strcmp) { - TEST_COND(0 == static_strcmp("", "")); - TEST_COND(0 == static_strcmp("same", "same")); - - TEST_COND(0 != static_strcmp("same", "diff")); - TEST_COND(0 != static_strcmp("same!", "same")); - TEST_COND(0 != static_strcmp("same", "same!")); - - TEST_COND(0 > static_strcmp("555", "654")); - TEST_COND(0 < static_strcmp("654", "555")); -} - void tests_utils(void) { TEST_RUN(memcmp); - TEST_RUN(static_strcmp); } -- cgit v1.2.3