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

Unified Diff: tests/compiler/dart2js/size_test.dart

Issue 1469353004: Restrict backend misuse (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Fix unittests Created 5 years, 1 month 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/size_test.dart
diff --git a/tests/compiler/dart2js/size_test.dart b/tests/compiler/dart2js/size_test.dart
index c7604f7c1c346c2f6f169e11099bc2c0f6502665..48bf71b87e603a2b66afb32a003935b661b0c9a4 100644
--- a/tests/compiler/dart2js/size_test.dart
+++ b/tests/compiler/dart2js/size_test.dart
@@ -9,9 +9,9 @@ import "compiler_helper.dart";
const String TEST = "main() => [];";
const Map<String, String> DEFAULT_CORELIB_WITH_LIST = const <String, String>{
- 'Object': 'class Object { Object(); }',
+ 'Object': 'class Object { const Object(); }',
'bool': 'class bool {}',
- 'List': 'abstract class List {}',
+ 'List': 'abstract class List<E> {}',
'num': 'class num {}',
'int': 'class int {}',
'double': 'class double {}',

Powered by Google App Engine
This is Rietveld 408576698