merged from plib
[ppastats.git] / tests / test_strrep.c
index 687c1fc..e3ef20d 100644 (file)
@@ -21,7 +21,7 @@
 #include <stdio.h>
 #include <string.h>
 
-#include "../src/str.h"
+#include <pstr.h>
 
 static int test_strrep(const char *str,
                       const char *old,
@@ -49,7 +49,7 @@ static int test_strrep(const char *str,
 static int tests_strrep()
 {
        int failures;
-       
+
        failures = 0;
 
        failures += test_strrep(NULL, NULL, NULL, NULL);
@@ -65,7 +65,7 @@ static int tests_strrep()
        failures += test_strrep("DastringE", "astring", "", "DE");
        failures += test_strrep("Dastring", "astring", "", "D");
        failures += test_strrep("astringE", "astring", "", "E");
-       
+
        failures += test_strrep("astring", "old", "new", "astring");
        failures += test_strrep("aoldstring", "old", "new", "anewstring");
        failures += test_strrep("astring", "astring", "thenewstring",
@@ -86,7 +86,7 @@ int main(int argc, char **argv)
 
        failures += tests_strrep();
 
-       if (failures) 
+       if (failures)
                exit(EXIT_FAILURE);
        else
                exit(EXIT_SUCCESS);