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

Unified Diff: tests/standalone_2/int_list_test.dart

Issue 2984363004: Migrate first block of tests in standalone to standalone_2 (Closed)
Patch Set: Remove Expect.throws 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 | « tests/standalone_2/int_array_test.dart ('k') | tests/standalone_2/io/addlatexhash_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone_2/int_list_test.dart
diff --git a/tests/standalone/int_list_test.dart b/tests/standalone_2/int_list_test.dart
similarity index 91%
rename from tests/standalone/int_list_test.dart
rename to tests/standalone_2/int_list_test.dart
index 2f13b01ab8536ea3e815efbf23a5dea5b8979ac3..c719f4d14b0351c7a8d37a9dd1c2419f4a523c30 100644
--- a/tests/standalone/int_list_test.dart
+++ b/tests/standalone_2/int_list_test.dart
@@ -17,11 +17,11 @@ main() {
Expect.equals(3 * 10, res);
res = sumIt1(a, 2);
Expect.equals(3 * 10, res);
- a = new Int32List(100);
- a[2] = 3;
- res = sumIt2(a, 2);
+ var a1 = new Int32List(100);
+ a1[2] = 3;
+ res = sumIt2(a1, 2);
Expect.equals(3 * 10, res);
- res = sumIt2(a, 2);
+ res = sumIt2(a1, 2);
Expect.equals(3 * 10, res);
}
« no previous file with comments | « tests/standalone_2/int_array_test.dart ('k') | tests/standalone_2/io/addlatexhash_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698