[glib] regex: Enable fixed test
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] regex: Enable fixed test
- Date: Sat, 7 Jul 2012 20:08:27 +0000 (UTC)
commit 2188a5e59c512668dc3c76607fb8ccad4910cc3c
Author: Christian Persch <chpe gnome org>
Date: Thu Jun 28 23:21:16 2012 +0200
regex: Enable fixed test
This problem was fixed in PCRE 8.31, so uncomment the test.
glib/tests/regex.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/glib/tests/regex.c b/glib/tests/regex.c
index 72a0155..2359a41 100644
--- a/glib/tests/regex.c
+++ b/glib/tests/regex.c
@@ -2165,10 +2165,8 @@ main (int argc, char *argv[])
TEST_NEW_FAIL ("^\\câ", 0, G_REGEX_ERROR_INVALID_CONTROL_CHAR);
TEST_NEW_FAIL ("\\k", 0, G_REGEX_ERROR_MISSING_NAME);
TEST_NEW_FAIL ("a[\\NB]c", 0, G_REGEX_ERROR_NOT_SUPPORTED_IN_CLASS);
-#if 0
- /* This one should fail but doesn't. Why? */
TEST_NEW_FAIL ("(*:0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEFG)XX", 0, G_REGEX_ERROR_NAME_TOO_LONG);
-#endif
+
/* These errors can't really be tested sanely:
* G_REGEX_ERROR_EXPRESSION_TOO_LARGE
* G_REGEX_ERROR_MEMORY_ERROR
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]