summaryrefslogtreecommitdiffstats
path: root/tests/parser.c
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2022-10-14 22:11:50 +0300
committergramanas <anastasis.gramm2@gmail.com>2022-10-14 22:11:50 +0300
commit7b7240d50dd5e418bc17beff48aa5681b398b980 (patch)
treeb521f1da139ce85974b71f1698cc140b1e7fed6c /tests/parser.c
parent433ce0f6795a4db89921b26274dd0b18fcccbb21 (diff)
downloadfoodtools-7b7240d50dd5e418bc17beff48aa5681b398b980.tar.gz
foodtools-7b7240d50dd5e418bc17beff48aa5681b398b980.tar.bz2
foodtools-7b7240d50dd5e418bc17beff48aa5681b398b980.zip
More changes
Diffstat (limited to 'tests/parser.c')
-rw-r--r--tests/parser.c6
1 files changed, 3 insertions, 3 deletions
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);
}