Index: test/cctest/test-regexp.cc |
=================================================================== |
--- test/cctest/test-regexp.cc (revision 15486) |
+++ test/cctest/test-regexp.cc (working copy) |
@@ -94,6 +94,7 @@ |
return output; |
} |
+ |
static bool CheckSimple(const char* input) { |
V8::Initialize(NULL); |
v8::HandleScope scope(v8::Isolate::GetCurrent()); |
@@ -112,6 +113,7 @@ |
int max_match; |
}; |
+ |
static MinMaxPair CheckMinMaxMatch(const char* input) { |
V8::Initialize(NULL); |
v8::HandleScope scope(v8::Isolate::GetCurrent()); |
@@ -377,6 +379,7 @@ |
CHECK_MIN_MAX("a(?!bbb|bb)c", 2, 2); |
} |
+ |
TEST(ParserRegression) { |
CHECK_PARSE_EQ("[A-Z$-][x]", "(! [A-Z $ -] [x])"); |
CHECK_PARSE_EQ("a{3,4*}", "(: 'a{3,' (# 0 - g '4') '}')"); |
@@ -659,6 +662,7 @@ |
} |
} |
+ |
// Test of debug-only syntax. |
#ifdef DEBUG |