Diff of /test/trunk/ooRexx/base/class/Array.testGroup [r9968] .. [r9969]  Maximize  Restore

Switch to side-by-side view

--- a/test/trunk/ooRexx/base/class/Array.testGroup
+++ b/test/trunk/ooRexx/base/class/Array.testGroup
@@ -1,7 +1,7 @@
 #!/usr/bin/rexx
 /*
-  SVN Revision: $Rev: 9542 $
-  Change Date:  $Date: 2013-11-22 20:14:12 +0000 (Fri, 22 Nov 2013) $
+  SVN Revision: $Rev: 9969 $
+  Change Date:  $Date: 2014-04-13 23:33:24 +0000 (Sun, 13 Apr 2014) $
 */
 /*----------------------------------------------------------------------------*/
 /*                                                                            */
@@ -835,6 +835,11 @@
 
   self~assertEquals(0, c1~items)
 
+  -- bug 1257...make sure removing the last item does not mess up the last element pointer
+  a = .array~of(1,2,3)
+  a~removeItem(3)
+  self~assertEquals(2, a~lastItem)
+
 
 
 ::method "test_subset"