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

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

Issue 177963002: Use List instead of Link in the type system. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 6 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
« no previous file with comments | « tests/compiler/dart2js/link_helper.dart ('k') | tests/compiler/dart2js/lookup_member_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/link_test.dart
diff --git a/tests/compiler/dart2js/link_test.dart b/tests/compiler/dart2js/link_test.dart
index 681c5ef78ac7a9dddbeb5b79d668821c3e2a3cd9..1096c60c55ec47552129024291740748af8f99ba 100644
--- a/tests/compiler/dart2js/link_test.dart
+++ b/tests/compiler/dart2js/link_test.dart
@@ -23,10 +23,6 @@ main() {
testSkip();
}
-testFromList(List list) {
- test(new Link.fromList(list), list);
-}
-
test(Link link, List list) {
Expect.equals(list.isEmpty, link.isEmpty);
int i = 0;
@@ -48,7 +44,7 @@ test(Link link, List list) {
}
testSkip() {
- var nonEmptyLink = new Link.fromList([0, 1, 2, 3, 4, 5]);
+ var nonEmptyLink = LinkFromList([0, 1, 2, 3, 4, 5]);
for (int i = 0 ; i < 5; i++) {
var link = nonEmptyLink.skip(i);
Expect.isFalse(link.isEmpty);
« no previous file with comments | « tests/compiler/dart2js/link_helper.dart ('k') | tests/compiler/dart2js/lookup_member_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698