summaryrefslogtreecommitdiff
path: root/tests/unistr/test-u32-strmblen.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unistr/test-u32-strmblen.c')
-rw-r--r--tests/unistr/test-u32-strmblen.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/unistr/test-u32-strmblen.c b/tests/unistr/test-u32-strmblen.c
index 0b74531..80626b8 100644
--- a/tests/unistr/test-u32-strmblen.c
+++ b/tests/unistr/test-u32-strmblen.c
@@ -1,5 +1,5 @@
/* Test of u32_strmblen() 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
@@ -62,14 +62,12 @@ main ()
ASSERT (ret == 1);
}
-#if CONFIG_UNICODE_SAFETY
/* Test incomplete/invalid 1-unit input. */
{
static const uint32_t input[] = { 0x340000, 0 };
ret = u32_strmblen (input);
ASSERT (ret == -1);
}
-#endif
return 0;
}