aboutsummaryrefslogtreecommitdiffstats
path: root/stptoupper.c
diff options
context:
space:
mode:
Diffstat (limited to 'stptoupper.c')
-rw-r--r--stptoupper.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/stptoupper.c b/stptoupper.c
index 3b5f008..cbfc184 100644
--- a/stptoupper.c
+++ b/stptoupper.c
@@ -45,15 +45,6 @@ main(void)
stpcpy(buf, "abcdeABCDE12345");
assert(!strcmpnul(libsimple_stptoupper(&buf[0], &buf[0]), ""));
assert(!strcmp(buf, "ABCDEABCDE12345"));
- stpcpy(buf, "abcdeABCDE12345");
- assert(!strcmpnul(libsimple_strtoupper(&buf[3], &buf[0]), "ABCDEABCDE12345"));
- assert(!strcmp(buf, "abcABCDEABCDE12345"));
- stpcpy(buf, "abcdeABCDE12345");
- assert(!strcmpnul(libsimple_strtoupper(&buf[0], &buf[3]), "DEABCDE12345"));
- assert(!strcmp(buf, "DEABCDE12345"));
- stpcpy(buf, "abcdeABCDE12345");
- assert(!strcmpnul(libsimple_strtoupper(&buf[0], &buf[0]), "ABCDEABCDE12345"));
- assert(!strcmp(buf, "ABCDEABCDE12345"));
return 0;
}