]> granicus.if.org Git - check/commitdiff
check_check_sub: add tests for suite_tcase(NULL,NULL)
authorbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Sat, 4 Jan 2014 18:33:37 +0000 (18:33 +0000)
committerbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Sat, 4 Jan 2014 18:33:37 +0000 (18:33 +0000)
Previously a test that exercise this did not exist

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@1010 64e312b2-a51f-0410-8e61-82d0ca0eb02a

tests/check_check_sub.c

index b66c4478c5ccb6ea95bdd63d4cf04f521284b33e..dc6ba96181545c20a36346feae982f59ce074059 100644 (file)
@@ -524,6 +524,7 @@ START_TEST(test_null_2)
   SRunner *sr = srunner_create(NULL);
   srunner_run_all (sr, CK_NORMAL);
   srunner_free (sr);
+  ck_assert_int_eq(suite_tcase(NULL, NULL), 0);
   ck_abort_msg("Completed properly");
 }
 END_TEST