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/+/2613370 Reviewed-by: Marja Hölttä <marja@chromium.org> Commit-Queue: Dan Clark <daniec@microsoft.com> Cr-Commit-Position: refs/heads/master@{#71956}
This commit is contained in:
parent
d485af5644
commit
d81161ea9d
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user