Revision: 3564
Author: [email protected]
Date: Thu Jan  7 22:40:09 2010
Log: Make sure to use the CHECK_PARSE_ERROR macro (and thereby
the static CheckParse function) even in release builds.

[email protected]
Review URL: http://codereview.chromium.org/518079
http://code.google.com/p/v8/source/detail?r=3564

Modified:
 /branches/bleeding_edge/test/cctest/test-regexp.cc

=======================================
--- /branches/bleeding_edge/test/cctest/test-regexp.cc Thu Jan 7 11:01:23 2010 +++ /branches/bleeding_edge/test/cctest/test-regexp.cc Thu Jan 7 22:40:09 2010
@@ -127,6 +127,9 @@

 TEST(Parser) {
   V8::Initialize(NULL);
+
+  CHECK_PARSE_ERROR("?");
+
   CHECK_PARSE_EQ("abc", "'abc'");
   CHECK_PARSE_EQ("", "%");
   CHECK_PARSE_EQ("abc|def", "(| 'abc' 'def')");
-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to