[test] Fix cctest/test-regexp/ParserWithoutLookbehind

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 <yangguo@chromium.org>
Commit-Queue: Mathias Bynens <mathias@chromium.org>
Cr-Commit-Position: refs/heads/master@{#49339}
This commit is contained in:
Mathias Bynens 2017-11-12 17:58:23 +01:00 committed by Commit Bot
parent f1b4ab1755
commit 88a2b1ee98

View File

@ -467,7 +467,7 @@ TEST(ParserWithLookbehind) {
TEST(ParserWithoutLookbehind) { TEST(ParserWithoutLookbehind) {
TestRegExpParser(true); // Lookbehind enabled. TestRegExpParser(false); // Lookbehind disabled.
} }
TEST(ParserRegression) { TEST(ParserRegression) {