From 05dd9fe6e8da6e286f44b20a2fc0259411b77c0f Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Sat, 12 Dec 2020 12:37:14 +0100 Subject: [PATCH] :wrench: Fix tests --- tests/error/union_array_empty.gw | 4 ++-- tests/error/union_global_private.gw | 2 +- tests/error/union_global_private_static.gw | 2 +- tests/error/union_global_static.gw | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) 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 }; -- 2.43.0