Browse Source

* small extension of the test for completeness sake

git-svn-id: trunk@38369 -
svenbarth 7 years ago
parent
commit
332b078c22
1 changed files with 6 additions and 0 deletions
  1. 6 0
      tests/test/tarray12.pp

+ 6 - 0
tests/test/tarray12.pp

@@ -107,6 +107,12 @@ begin
   PrintArray(t);
   CheckArray(t, [1, 3, 5]);
 
+  t := Nil;
+  t2 := Nil;
+  Insert(t2, t, 0);
+  PrintArray(t);
+  CheckArray(t, []);
+
   t := Nil;
   Insert([], t, 0);
   PrintArray(t);