Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(166)

Unified Diff: tests/compiler/dart2js/kernel/closed_world2_test.dart

Issue 2939063002: Strong mode cleaning of many dart2js tests. (Closed)
Patch Set: Use ClassElement. Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/compiler/dart2js/kernel/closed_world2_test.dart
diff --git a/tests/compiler/dart2js/kernel/closed_world2_test.dart b/tests/compiler/dart2js/kernel/closed_world2_test.dart
index 7ea0ad9f6a683b126726910e258ef29f926ad528..482f354fd2c52015258b32367f5c593cdcb0088d 100644
--- a/tests/compiler/dart2js/kernel/closed_world2_test.dart
+++ b/tests/compiler/dart2js/kernel/closed_world2_test.dart
@@ -148,10 +148,12 @@ Future<ResultKind> mainInternal(List<String> args,
checkBackendUsage(backendUsage1, backendUsage2, strategy);
checkResolutionEnqueuers(backendUsage1, backendUsage2, enqueuer1, enqueuer2,
- elementEquivalence: equivalence.entityEquivalence,
+ elementEquivalence: (a, b) => equivalence.entityEquivalence(a, b),
typeEquivalence: (ResolutionDartType a, DartType b) {
- return equivalence.typeEquivalence(unalias(a), b);
- }, elementFilter: elementFilter, verbose: arguments.verbose);
+ return equivalence.typeEquivalence(unalias(a), b);
+ },
+ elementFilter: elementFilter,
+ verbose: arguments.verbose);
checkClosedWorlds(closedWorld1, closedWorld2,
strategy: equivalence.defaultStrategy, verbose: arguments.verbose);

Powered by Google App Engine
This is Rietveld 408576698