aboutsummaryrefslogtreecommitdiffstats
path: root/memisutf8.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-06-12 20:13:23 +0200
committerMattias Andrée <maandree@kth.se>2022-06-12 20:13:23 +0200
commit3d6482b0949159c33d6ac2972a69868bdda766f2 (patch)
tree722cf9ab069d75af63664eeae0c35c63aa73c51c /memisutf8.c
parentFix warnings (diff)
downloadlibsimple-3d6482b0949159c33d6ac2972a69868bdda766f2.tar.gz
libsimple-3d6482b0949159c33d6ac2972a69868bdda766f2.tar.bz2
libsimple-3d6482b0949159c33d6ac2972a69868bdda766f2.tar.xz
Move some test code to newline created .c files
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--memisutf8.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/memisutf8.c b/memisutf8.c
index c7ffbd8..b477ab8 100644
--- a/memisutf8.c
+++ b/memisutf8.c
@@ -91,10 +91,6 @@ main(void)
assert(libsimple_memisutf8(STRING, sizeof(STRING) - 1, i) == (GOOD));\
assert(libsimple_memisutf8(STRING "\xFF", sizeof(STRING) - 1, i) == (GOOD));\
assert(libsimple_memisutf8(STRING "\x00", sizeof(STRING) - 1, i) == (GOOD));\
- assert(libsimple_strisutf8(STRING, i) == (GOOD));\
- assert(libsimple_strnisutf8(STRING, sizeof(STRING) - 1, i) == (GOOD));\
- assert(libsimple_strnisutf8(STRING "\xFF", sizeof(STRING) - 1, i) == (GOOD));\
- assert(libsimple_strnisutf8(STRING "\x00", sizeof(STRING) - 1, i) == (GOOD));\
} while (0)
int i;