From 0a74b6fda08c484cba7216596d2ffa3931b900e5 Mon Sep 17 00:00:00 2001 From: Thomas Guyot-Sionnest Date: Sat, 24 Jan 2009 07:41:45 -0500 Subject: Remove the commented out blocks The die tests are implemented in the test_*3.t files --- lib/tests/test_ini1.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'lib/tests/test_ini1.c') diff --git a/lib/tests/test_ini1.c b/lib/tests/test_ini1.c index c0853d7c..77f88549 100644 --- a/lib/tests/test_ini1.c +++ b/lib/tests/test_ini1.c @@ -64,14 +64,6 @@ main (int argc, char **argv) ok( !strcmp(optstr, "--one=two --Foo=Bar --this=Your Mother! --blank"), "Used default section name, without specific"); my_free(optstr); - /* - * This check is expected to die - It's commented so we can eventually put - * it in a separate file for testing the return value - */ - /* optstr=list2str(np_get_defaults("section_unknown@./config-tiny.ini", "section")); - ok( 0, "die if section isn't found"); - my_free(optstr); */ - optstr=list2str(np_get_defaults("Section Two@./config-tiny.ini", "check_disk")); ok( !strcmp(optstr, "--something else=blah --remove=whitespace"), "config-tiny.ini's Section Two as expected"); my_free(optstr); -- cgit v1.2.3-74-g34f1