Commit 8dd36667 authored by kasperl@chromium.org's avatar kasperl@chromium.org

Make sure to use the CHECK_PARSE_ERROR macro (and thereby

the static CheckParse function) even in release builds.

TBR=lrn@chromium.org 
Review URL: http://codereview.chromium.org/518079

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3564 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 46504c15
......@@ -127,6 +127,9 @@ static MinMaxPair CheckMinMaxMatch(const char* input) {
TEST(Parser) {
V8::Initialize(NULL);
CHECK_PARSE_ERROR("?");
CHECK_PARSE_EQ("abc", "'abc'");
CHECK_PARSE_EQ("", "%");
CHECK_PARSE_EQ("abc|def", "(| 'abc' 'def')");
......
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