added some output to make this more usable
[feisty_meow.git] / nucleus / library / tests_basis / test_string.cpp
index a8eb15e5855ffcb5b671bb60171e976b60787adb..0eddf073e406a7c48f94b37c52eb76b544e92046 100644 (file)
@@ -33,9 +33,9 @@
 #include <timely/time_stamp.h>
 #include <unit_test/unit_base.h>
 
-#ifdef _MSC_VER
-  #include <comdef.h>
-#endif
+//#ifdef _MSC_VER
+//  #include <comdef.h>
+//#endif
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -184,8 +184,8 @@ void test_string::run_test_02()
   *fred3 += *fred2;
 
   // testing adding a null to a string.
-  *fred2 += (char *)NIL;
-  *fred3 += (char *)NIL;
+  *fred2 += (char *)NULL_POINTER;
+  *fred3 += (char *)NULL_POINTER;
 
 #ifdef DEBUG_STRING_TEST
   LOG(astring("[ ") + *fred1 + " & " + *fred2 + "] -> " + *fred3);