Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dbungert committed Feb 9, 2023
1 parent d4f32e0 commit 7278435
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions test/tests.c
Expand Up @@ -85,6 +85,13 @@ static void eq_bad(void **state)
assert_false(eq("a", "b"));
}

static void eq_NULL(void **state)
{
assert_null(eq(NULL, "a"));
assert_null(eq("a", NULL));
assert_null(eq(NULL, NULL));
}

static void lt_good(void **state)
{
assert_true(lt("a", "b"));
Expand Down Expand Up @@ -135,13 +142,6 @@ static void str_NULL(void **state)
assert_null(str(NULL));
}

static void eq_NULL(void **state)
{
assert_null(eq(NULL, "a"));
assert_null(eq("a", NULL));
assert_null(eq(NULL, NULL));
}

int main(void)
{
const struct CMUnitTest tests[] = {
Expand Down

0 comments on commit 7278435

Please sign in to comment.