Index: /trunk/psLib/test/types/tap_psArray_all.c
===================================================================
--- /trunk/psLib/test/types/tap_psArray_all.c	(revision 9846)
+++ /trunk/psLib/test/types/tap_psArray_all.c	(revision 9847)
@@ -24,5 +24,5 @@
 int main(void)
 {
-    plan_tests(28);
+    plan_tests(29);
 
     diag("Tests for psArray Functions");
@@ -48,4 +48,10 @@
             "psArrayAlloc:           return NULL for negative array-size input.");
     }
+    //Return NULL for negative array size - psArrayAllocEmpty
+    {
+        a = psArrayAllocEmpty(-2);
+        ok( a == NULL,
+            "psArrayAllocEmpty:      return NULL for negative array-size input.");
+    }
     //Return properly allocated psArray
     {
@@ -54,4 +60,5 @@
             "psArrayAlloc:           return properly allocated psArray.");
     }
+
     //Tests for psMemCheckArray
     //Make sure psMemCheckArray works correctly - return false
