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

Unified Diff: tests/corelib_strong/sort_helper.dart

Issue 2985333002: fix #30290, assertion messages that contain `yield` (Closed)
Patch Set: merge and update status Created 3 years, 5 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 | « pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/types.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib_strong/sort_helper.dart
diff --git a/tests/corelib_strong/sort_helper.dart b/tests/corelib_strong/sort_helper.dart
index 9c730177ea24c9a67796390f22ad0a72c9a7287f..ff1152cb0c74eee2320dd74044ca731dd493e6a6 100644
--- a/tests/corelib_strong/sort_helper.dart
+++ b/tests/corelib_strong/sort_helper.dart
@@ -24,7 +24,7 @@ class SortHelper {
}
void testSortIntLists() {
- List a = new List(40);
+ var a = new List<int>(40);
for (int i = 0; i < a.length; i++) {
a[i] = i;
@@ -80,10 +80,10 @@ class SortHelper {
a[33] = 1;
testSort(a);
- var a2 = new List(0);
+ var a2 = new List<int>(0);
testSort(a2);
- var a3 = new List(1);
+ var a3 = new List<int>(1);
a3[0] = 1;
testSort(a3);
@@ -121,7 +121,7 @@ class SortHelper {
}
void testInsertionSort(int i1, int i2, int i3, int i4) {
- var a = new List(4);
+ var a = new List<int>(4);
a[0] = i1;
a[1] = i2;
a[2] = i3;
@@ -130,7 +130,7 @@ class SortHelper {
}
void testSortDoubleLists() {
- List a = new List(40);
+ var a = new List<double>(40);
for (int i = 0; i < a.length; i++) {
a[i] = 1.0 * i + 0.5;
}
« no previous file with comments | « pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/types.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698