From: Jérémie Astor Date: Sat, 12 Dec 2020 11:37:14 +0000 (+0100) Subject: :wrench: Fix tests X-Git-Tag: nightly~1105^2~36 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=05dd9fe6e8da6e286f44b20a2fc0259411b77c0f;p=gwion.git :wrench: Fix tests --- diff --git a/tests/error/union_array_empty.gw b/tests/error/union_array_empty.gw index 3310091a..726d6891 100644 --- a/tests/error/union_array_empty.gw +++ b/tests/error/union_array_empty.gw @@ -1,5 +1,5 @@ #! [contains] must be defined with empty union U { - int i; - int array[4]; + int i, + int array[4] }; diff --git a/tests/error/union_global_private.gw b/tests/error/union_global_private.gw index 1e17f48a..bfa9ce28 100644 --- a/tests/error/union_global_private.gw +++ b/tests/error/union_global_private.gw @@ -1,2 +1,2 @@ #! [contains] can only be used at class scope. -union static U { int i; }; +union static U { int i }; diff --git a/tests/error/union_global_private_static.gw b/tests/error/union_global_private_static.gw index 13e237e7..6f4ce434 100644 --- a/tests/error/union_global_private_static.gw +++ b/tests/error/union_global_private_static.gw @@ -1,2 +1,2 @@ #! [contains] can only be used at class scope. -union private static U { int i; }; +union private static U { int i }; diff --git a/tests/error/union_global_static.gw b/tests/error/union_global_static.gw index 1e748934..7fa677b6 100644 --- a/tests/error/union_global_static.gw +++ b/tests/error/union_global_static.gw @@ -1,2 +1,2 @@ #! [contains] can only be used at class scope. -union private U { int i; }; +union private U { int i };