From 88a2b1ee986ed30cb7c7260e8c8463ab0bee164b Mon Sep 17 00:00:00 2001 From: Mathias Bynens Date: Sun, 12 Nov 2017 17:58:23 +0100 Subject: [PATCH] [test] Fix cctest/test-regexp/ParserWithoutLookbehind MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The lookbehind tests weren’t being skipped in the “without lookbehind” case, resulting in a redundant test. Bug: v8:4545 Change-Id: Ia004508373ba6ec49fd9de690909467eb0a15361 Reviewed-on: https://chromium-review.googlesource.com/765468 Reviewed-by: Yang Guo Commit-Queue: Mathias Bynens Cr-Commit-Position: refs/heads/master@{#49339} --- test/cctest/test-regexp.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cctest/test-regexp.cc b/test/cctest/test-regexp.cc index 270c7c7edf..b642d56266 100644 --- a/test/cctest/test-regexp.cc +++ b/test/cctest/test-regexp.cc @@ -467,7 +467,7 @@ TEST(ParserWithLookbehind) { TEST(ParserWithoutLookbehind) { - TestRegExpParser(true); // Lookbehind enabled. + TestRegExpParser(false); // Lookbehind disabled. } TEST(ParserRegression) {