Commit 8c147873 authored by ylavic's avatar ylavic

Unit test for invalid GenericRegex (unclosed parenthesis).

parent be96f4d7
...@@ -595,6 +595,7 @@ TEST(Regex, Invalid) { ...@@ -595,6 +595,7 @@ TEST(Regex, Invalid) {
TEST_INVALID(""); TEST_INVALID("");
TEST_INVALID("a|"); TEST_INVALID("a|");
TEST_INVALID("()"); TEST_INVALID("()");
TEST_INVALID("(");
TEST_INVALID(")"); TEST_INVALID(")");
TEST_INVALID("(a))"); TEST_INVALID("(a))");
TEST_INVALID("(a|)"); TEST_INVALID("(a|)");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment