From: Jérémie Astor Date: Mon, 7 Dec 2020 17:32:41 +0000 (+0100) Subject: :art: Update tests X-Git-Tag: nightly~1117 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=81ee85191d7cee783559c97b2185d8c3b8c431fe;p=gwion.git :art: Update tests --- diff --git a/tests/plug/invalid_names0.c b/tests/plug/invalid_names0.c index 70114574..c214155a 100644 --- a/tests/plug/invalid_names0.c +++ b/tests/plug/invalid_names0.c @@ -14,5 +14,6 @@ GWION_IMPORT(trig) { DECL_OB(const Type, t0, = gwi_mk_type(gwi, "T~", SZ_INT, NULL)) - return gwi_add_type(gwi, t0); + gwi_add_type(gwi, t0); + return GW_OK; } diff --git a/tests/plug/invalid_names1.c b/tests/plug/invalid_names1.c index 874e1029..64b32cf9 100644 --- a/tests/plug/invalid_names1.c +++ b/tests/plug/invalid_names1.c @@ -14,5 +14,6 @@ GWION_IMPORT(trig) { DECL_OB(const Type, t0, = gwi_mk_type(gwi, "T,", SZ_INT, NULL)) - return gwi_add_type(gwi, t0); + gwi_add_type(gwi, t0); + return GW_OK; } diff --git a/tests/plug/invalid_names2.c b/tests/plug/invalid_names2.c index f1f5fe19..0bf6f62b 100644 --- a/tests/plug/invalid_names2.c +++ b/tests/plug/invalid_names2.c @@ -14,5 +14,6 @@ GWION_IMPORT(trig) { DECL_OB(const Type, t0, = gwi_mk_type(gwi, "T", SZ_INT, NULL)) - return gwi_add_type(gwi, t0); + gwi_add_type(gwi, t0); + return GW_OK; } diff --git a/tests/plug/invalid_names3.c b/tests/plug/invalid_names3.c index 4304e377..1b58601e 100644 --- a/tests/plug/invalid_names3.c +++ b/tests/plug/invalid_names3.c @@ -14,5 +14,6 @@ GWION_IMPORT(trig) { DECL_OB(const Type, t0, = gwi_mk_type(gwi, "T:[a]", SZ_INT, NULL)) - return gwi_add_type(gwi, t0); + gwi_add_type(gwi, t0); + return GW_OK; }