Changeset 8706
- Timestamp:
- Aug 29, 2006, 7:10:56 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/sys/tap_psStringSubstitute.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/sys/tap_psStringSubstitute.c
r8234 r8706 5 5 #define ORIGINAL "This is, a, test case, to check." 6 6 #define CORRECTED "This is a test case to check." 7 #define mem() ok(psMemCheckLeaks( 0, NULL, stdout, false) == 0, "Memory Leaks")7 #define mem() ok(psMemCheckLeaks(psMemGetLastId(), NULL, stdout, false) == 0, "Memory Leaks") 8 8 9 9 int main (void) … … 28 28 input = psStringSubstitute(input, "XXX", ""); 29 29 ok(input && strcmp(input, ORIGINAL) == 0, "output = %s", input); 30 //psFree(input);30 psFree(input); 31 31 // ok(psMemCheckLeaks(0, NULL, stdout, false) == 0, "Memory Leaks"); 32 32 mem();
Note:
See TracChangeset
for help on using the changeset viewer.
