]> Nishi Git Mirror - gwion.git/commitdiff
:art: Update union test
authorJérémie Astor <fennecdjay@gmail.com>
Sat, 24 Jul 2021 18:26:28 +0000 (20:26 +0200)
committerJérémie Astor <fennecdjay@gmail.com>
Sat, 24 Jul 2021 18:26:28 +0000 (20:26 +0200)
tests/union/union.gw

index 14c31e289556711f67ba0d17e0cb17511a9fc5ca..37833f4da42602b8d9649fd6888e7d9f6fb0a27d 100644 (file)
@@ -4,7 +4,7 @@ union U {
   float f;
 }
 
-U(i, 1) => var U u;
+new U(i, 1) => var U u;
 <<< u.i >>>;
 
 2.4 => u.f;