Commit d81161ea authored by Dan Clark's avatar Dan Clark Committed by Commit Bot

Remove redundant RunParserSyncTest calls in ImportExpressionErrors

When --harmony-dynamic-import was removed in
https://chromium-review.googlesource.com/c/v8/v8/+/2509942 it looks
like we were left with some redundant invocations of
RunParserSyncTest/RunModuleParserSyncTest in ImportExpressionErrors.
This removes them.

Change-Id: I2fb68c7e21bc4e039ab77396cdca7ca0d18eca95
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2613370Reviewed-by: 's avatarMarja Hölttä <marja@chromium.org>
Commit-Queue: Dan Clark <daniec@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#71956}
parent d485af56
......@@ -4925,9 +4925,6 @@ TEST(ImportExpressionErrors) {
// clang-format on
RunParserSyncTest(context_data, data, kError);
RunModuleParserSyncTest(context_data, data, kError);
RunParserSyncTest(context_data, data, kError);
RunModuleParserSyncTest(context_data, data, kError);
}
// Import statements as arrow function params and destructuring targets.
......@@ -4955,9 +4952,6 @@ TEST(ImportExpressionErrors) {
// clang-format on
RunParserSyncTest(context_data, data, kError);
RunModuleParserSyncTest(context_data, data, kError);
RunParserSyncTest(context_data, data, kError);
RunModuleParserSyncTest(context_data, data, kError);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment