Fix testcase to reflect input

This commit is contained in:
Nick Chambers 2022-07-02 19:32:33 -05:00
parent a5eb69f4e5
commit 5c2ef82a9e
1 changed files with 2 additions and 1 deletions

View File

@ -111,7 +111,8 @@ void sleuth_test_find_emblem(void) {
CU_ASSERT_NSTRING_EQUAL(opt->brand, "bar", opt->brand_sz);
opt = gargoyle_find_emblem(optc, optv, 'B', 0);
CU_ASSERT_PTR_NULL(opt);
CU_ASSERT_PTR_NOT_NULL(opt);
CU_ASSERT_NSTRING_EQUAL(opt->brand, "blu", opt->brand_sz);
opt = gargoyle_find_emblem(optc, optv, 'B', GARGOYLE_FLG_ECASE);
CU_ASSERT_PTR_NOT_NULL(opt);