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

Unified Diff: tests/compiler/dart2js/closure/closure_test.dart

Issue 3003543002: Add more tests for boxed variables. (Closed)
Patch Set: Created 3 years, 4 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
« no previous file with comments | « no previous file | tests/compiler/dart2js/closure/data/mixed.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/closure/closure_test.dart
diff --git a/tests/compiler/dart2js/closure/closure_test.dart b/tests/compiler/dart2js/closure/closure_test.dart
index a206a1102197b4c8246585e8a6160c7db965b492..79a6a2d0d7a9d6171a948d3941c9f21644054bc8 100644
--- a/tests/compiler/dart2js/closure/closure_test.dart
+++ b/tests/compiler/dart2js/closure/closure_test.dart
@@ -20,6 +20,12 @@ import '../equivalence/id_equivalence.dart';
import '../equivalence/id_equivalence_helper.dart';
import 'package:kernel/ast.dart' as ir;
+// TODO(johnnniwinther,efortuna): Enable the these tests for .dill.
+const List<String> whiteList = const <String>[
+ 'nested_closures.dart',
+ 'mixed.dart',
+];
+
main(List<String> args) {
bool verbose = args.contains('-v');
asyncTest(() async {
@@ -32,8 +38,7 @@ main(List<String> args) {
print('--from source---------------------------------------------------');
await checkCode(annotatedCode, computeClosureData, compileFromSource,
verbose: verbose);
- // TODO(johnnniwinther,efortuna): Enable the these tests for .dill.
- if (['nested_closures.dart'].contains(entity.uri.pathSegments.last)) {
+ if (whiteList.contains(entity.uri.pathSegments.last)) {
print('--skipped for dill--------------------------------------------');
continue;
}
« no previous file with comments | « no previous file | tests/compiler/dart2js/closure/data/mixed.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698