Update of /cvsroot/nice/Nice/testsuite/lib/nice/lang
In directory sc8-pr-cvs1:/tmp/cvs-serv30355/F:/nice/testsuite/lib/nice/lang
Modified Files:
arrays.testsuite
Log Message:
Added overloaded verion `+` for arrays. fixes #773918
Index: arrays.testsuite
===================================================================
RCS file: /cvsroot/nice/Nice/testsuite/lib/nice/lang/arrays.testsuite,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** arrays.testsuite 16 May 2003 00:15:02 -0000 1.3
--- arrays.testsuite 18 Jul 2003 21:26:50 -0000 1.4
***************
*** 27,28 ****
--- 27,33 ----
j[0] = 2;
assert i[0] == 1 && j[0] == 2;
+
+ /// PASS
+ var String[] foo = ["hello"];
+ foo += ["world"];
+ assert foo[0].equals("hello") && foo[1].equals("world");
|