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
This commit is contained in:
parent
46504c1557
commit
8dd3666741
@ -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')");
|
||||
|
Loading…
Reference in New Issue
Block a user