summaryrefslogtreecommitdiff
path: root/tests/unistr/test-u16-prev.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-03-27 21:41:36 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-03-27 21:41:36 +0200
commit6b73edd95d603e27d55d4905134ac1327d426534 (patch)
treee0b9334e2637f17696c796ac13b2c39294bf9233 /tests/unistr/test-u16-prev.c
parent0250cb64565a7d5238bbc751225d4b0236ef8316 (diff)
New upstream version 0.9.7upstream/0.9.7
Diffstat (limited to 'tests/unistr/test-u16-prev.c')
-rw-r--r--tests/unistr/test-u16-prev.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/unistr/test-u16-prev.c b/tests/unistr/test-u16-prev.c
index 8dcf6c12..65e9ab3d 100644
--- a/tests/unistr/test-u16-prev.c
+++ b/tests/unistr/test-u16-prev.c
@@ -1,5 +1,5 @@
/* Test of u16_prev() function.
- Copyright (C) 2010-2015 Free Software Foundation, Inc.
+ Copyright (C) 2010-2016 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -84,7 +84,6 @@ check_invalid (const uint16_t *input, size_t input_length)
if (uc != 0xBADFACE)
return 2;
-#if CONFIG_UNICODE_SAFETY
/* Test recognition when preceded by a 1-unit character. */
{
uint16_t buf[100];
@@ -121,7 +120,6 @@ check_invalid (const uint16_t *input, size_t input_length)
if (uc != 0xBADFACE)
return 6;
}
-#endif
return 0;
}