From 7b7240d50dd5e418bc17beff48aa5681b398b980 Mon Sep 17 00:00:00 2001 From: gramanas Date: Fri, 14 Oct 2022 22:11:50 +0300 Subject: More changes --- tests/parser.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/parser.c b/tests/parser.c index 744c8ca..ddac924 100644 --- a/tests/parser.c +++ b/tests/parser.c @@ -117,15 +117,15 @@ START_TEST(check_parse_item) is0(parse_item("noqty", r, (pt *)NULL, error)); ck_assert_str_eq(r->i[r->in - 1]->name, "noqty"); - ck_assert_str_eq(r->i[r->in - 1]->qty, "*"); + ck_assert_str_eq(r->i[r->in - 1]->qty, ""); is0(parse_item("noqty2, noqty3", r, (pt *)NULL, error)); ck_assert_str_eq(r->i[r->in - 1]->name, "noqty3"); - ck_assert_str_eq(r->i[r->in - 1]->qty, "*"); + ck_assert_str_eq(r->i[r->in - 1]->qty, ""); is0(parse_item("---", r, (pt *)NULL, error)); ck_assert_str_eq(r->i[r->in - 1]->name, "noqty3"); - ck_assert_str_eq(r->i[r->in - 1]->qty, "*"); + ck_assert_str_eq(r->i[r->in - 1]->qty, ""); free_recipe(r); } -- cgit v1.2.3