[gnome-builder/wip/kat: 2/2] Test C parse helper for ellipses
- From: Ekaterina Gerasimova <egerasimov src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/kat: 2/2] Test C parse helper for ellipses
- Date: Fri, 13 Feb 2015 22:17:37 +0000 (UTC)
commit b73c99804d68018bcb8aff40822598bf214077f2
Author: Ekaterina Gerasimova <kittykat3756 gmail com>
Date: Fri Feb 13 20:50:25 2015 +0000
Test C parse helper for ellipses
tests/test-c-parse-helper.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/tests/test-c-parse-helper.c b/tests/test-c-parse-helper.c
index d12811b..13a817d 100644
--- a/tests/test-c-parse-helper.c
+++ b/tests/test-c-parse-helper.c
@@ -37,9 +37,11 @@ test_parse_parameters1 (void)
{ "Item", 2, "b", 0 },
{ "gpointer", 0, "u", 0 },
{ "GError", 2, "error", 0 }
+ { "", 0, "", 1}
};
- ret = parse_parameters ("Item *a , Item **b, gpointer u, GError ** error");
+ ret = parse_parameters ("Item *a , Item **b, gpointer u, GError ** error,
+ ...");
g_assert_cmpint (4, ==, g_slist_length (ret));
for (i = 0, iter = ret; i < G_N_ELEMENTS (result); i++, iter = iter->next)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]