Index: tests/compiler/dart2js/kernel/impact_test.dart |
diff --git a/tests/compiler/dart2js/kernel/impact_test.dart b/tests/compiler/dart2js/kernel/impact_test.dart |
index 6514e2172ffdef4e070f03a53535e00c9f2d7d46..0720bca222cd8b3f15effe1a0b711bd37913d67b 100644 |
--- a/tests/compiler/dart2js/kernel/impact_test.dart |
+++ b/tests/compiler/dart2js/kernel/impact_test.dart |
@@ -84,18 +84,17 @@ main(List<String> args) { |
Compiler compiler = compilerFor( |
entryPoint: entryPoint, |
memorySourceFiles: SOURCE, |
- options: [Flags.analyzeOnly]); |
+ options: [Flags.analyzeOnly, Flags.useKernel]); |
compiler.resolution.retainCachesForTesting = true; |
await compiler.run(entryPoint); |
- compiler.mainApp.forEachLocalMember( |
- (element) => checkElement(compiler, element)); |
+ compiler.mainApp |
+ .forEachLocalMember((element) => checkElement(compiler, element)); |
}); |
} |
void checkElement(Compiler compiler, AstElement element) { |
- ResolutionImpact astImpact = |
- compiler.resolution.getResolutionImpact(element); |
+ ResolutionImpact astImpact = compiler.resolution.getResolutionImpact(element); |
ResolutionImpact kernelImpact = build(compiler, element.resolvedAst); |
- testResolutionImpactEquivalence(astImpact, kernelImpact, |
- const CheckStrategy()); |
+ testResolutionImpactEquivalence( |
+ astImpact, kernelImpact, const CheckStrategy()); |
} |