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

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

Issue 165143004: Move TypeMask.simplify to a test helper. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments Created 6 years, 10 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 | « tests/compiler/dart2js/issue13354_test.dart ('k') | tests/compiler/dart2js/list_tracer3_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/list_tracer2_test.dart
diff --git a/tests/compiler/dart2js/list_tracer2_test.dart b/tests/compiler/dart2js/list_tracer2_test.dart
index 56c5fff381037959855b07036154328b397886e7..4f2d7b28eacc9e11aea2a04a0ed630e66a8e95ed 100644
--- a/tests/compiler/dart2js/list_tracer2_test.dart
+++ b/tests/compiler/dart2js/list_tracer2_test.dart
@@ -13,7 +13,7 @@ import
import 'compiler_helper.dart';
import 'parser_helper.dart';
-
+import 'type_mask_test_helper.dart';
const String TEST = r'''
var myList = [42];
@@ -32,7 +32,7 @@ void main() {
checkType(String name, type) {
var element = findElement(compiler, name);
ContainerTypeMask mask = typesInferrer.getTypeOfElement(element);
- Expect.equals(type, mask.elementType.simplify(compiler), name);
+ Expect.equals(type, simplify(mask.elementType, compiler), name);
}
checkType('myList', compiler.typesTask.uint31Type);
« no previous file with comments | « tests/compiler/dart2js/issue13354_test.dart ('k') | tests/compiler/dart2js/list_tracer3_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698