X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/3ece470d21e4fcc14337db1d631290d5e7cd4959..c68d8eba5fe27f4e9ecf4938a6f5a5636d5872d2:/lib/t-regsub.c diff --git a/lib/t-regsub.c b/lib/t-regsub.c index bff05dc..1497db2 100644 --- a/lib/t-regsub.c +++ b/lib/t-regsub.c @@ -19,13 +19,11 @@ */ #include "test.h" -void test_regsub(void) { +static void test_regsub(void) { pcre *re; const char *errstr; int erroffset; - printf("test_regsub\n"); - check_integer(regsub_flags(""), 0); check_integer(regsub_flags("g"), REGSUB_GLOBAL); check_integer(regsub_flags("i"), REGSUB_CASE_INDEPENDENT); @@ -65,6 +63,8 @@ void test_regsub(void) { "foo-x:bBb$aAaA:y-bar"); } +TEST(regsub); + /* Local Variables: c-basic-offset:2