comparison tests.c @ 786:c51f056f3557

Fix a test.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 20 Dec 2023 08:04:04 +0200
parents bca32201868e
children
comparison
equal deleted inserted replaced
785:bca32201868e 786:c51f056f3557
463 463
464 // Test read values against expected values 464 // Test read values against expected values
465 test_config_values(cfg); 465 test_config_values(cfg);
466 466
467 // Additional tests 467 // Additional tests
468 test_start(&ctx, "Additional config tests");
468 item = th_cfg_item_find(cfg, NULL, "string_list", -1); 469 item = th_cfg_item_find(cfg, NULL, "string_list", -1);
469 test_result(&ctx, item != NULL); 470 test_result(&ctx, item != NULL);
471 test_end(&ctx);
470 if (item != NULL) 472 if (item != NULL)
471 { 473 {
472 static const char *nostr = "not to be found"; 474 static const char *nostr = "not to be found";
473 th_llist_t **plist = (th_llist_t **) item->v.list; 475 th_llist_t **plist = (th_llist_t **) item->v.list;
474 476