Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 65b390c

Browse files
stereotype441commit-bot@chromium.org
authored andcommitted
Simplify summary resynthesis tests
By removing unnecessary flags isStrongMode and isSharedFrontEnd. Change-Id: I18ebb15297cc7dde38d61369d9a18b9e3bce895a Reviewed-on: https://dart-review.googlesource.com/74966 Reviewed-by: Konstantin Shcheglov <[email protected]> Commit-Queue: Paul Berry <[email protected]>
1 parent ca8e5ba commit 65b390c

File tree

2 files changed

+162
-1717
lines changed

2 files changed

+162
-1717
lines changed

pkg/analyzer/test/src/summary/resynthesize_ast_test.dart

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -258,13 +258,9 @@ abstract class _ResynthesizeAstTest extends ResynthesizeTest
258258

259259
@override
260260
AnalysisOptionsImpl createOptions() {
261-
if (isStrongMode) {
262-
return super.createOptions()
263-
..previewDart2 = true
264-
..isMixinSupportEnabled = true;
265-
} else {
266-
return super.createOptions()..previewDart2 = false;
267-
}
261+
return super.createOptions()
262+
..previewDart2 = true
263+
..isMixinSupportEnabled = true;
268264
}
269265

270266
test_getElement_constructor_named() async {

0 commit comments

Comments
 (0)