From 1a246d70c348f30a8f13a93e736ad01d5f317d95 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Sat, 12 Dec 2020 13:57:57 +0100 Subject: [PATCH] :art: 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 726d6891..3310091a 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 bfa9ce28..1e17f48a 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 6f4ce434..13e237e7 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 7fa677b6..1e748934 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