mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 06:56:14 +01:00
regex: Enable fixed test
This problem was fixed in PCRE 8.31, so uncomment the test.
This commit is contained in:
parent
9457833010
commit
2188a5e59c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user