[glib/wip/pcre-8.31: 2/4] regex: Enable fixed test
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/pcre-8.31: 2/4] regex: Enable fixed test
- Date: Fri, 29 Jun 2012 07:02:44 +0000 (UTC)
commit fb0d4ef43bfef1dfa0308e3c036984bff4809b65
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 57b4104..da7f4ce 100644
--- a/glib/tests/regex.c
+++ b/glib/tests/regex.c
@@ -2192,10 +2192,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]