summaryrefslogtreecommitdiff
path: root/src/kernel/tests
diff options
context:
space:
mode:
authordzwdz2021-09-19 21:25:09 +0200
committerdzwdz2021-09-19 21:25:09 +0200
commit388151741be9622a80a8161dd2cbea1be8bd18a2 (patch)
tree0f891621f4d9a4969e88d4d7760de66cc176b127 /src/kernel/tests
parentd6e3c058d62befd034ec47cbcd57ae02d97ba1db (diff)
remove the unused static_strcmp macro
Diffstat (limited to 'src/kernel/tests')
-rw-r--r--src/kernel/tests/util.c13
1 files changed, 0 insertions, 13 deletions
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);
}