Reviewers: Lasse Reichstein,

Description:
Make sure to use the CHECK_PARSE_ERROR macro (and thereby
the static CheckParse function) even in release builds.

[email protected]

Please review this at http://codereview.chromium.org/518079

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
  M     test/cctest/test-regexp.cc


Index: test/cctest/test-regexp.cc
===================================================================
--- test/cctest/test-regexp.cc  (revision 3563)
+++ test/cctest/test-regexp.cc  (working copy)
@@ -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