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

Unified Diff: tests/language_strong/optimize_redundant_array_load_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 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
Index: tests/language_strong/optimize_redundant_array_load_test.dart
diff --git a/tests/language_strong/optimize_redundant_array_load_test.dart b/tests/language_strong/optimize_redundant_array_load_test.dart
index 14549d22e86279a131ffc9b3ea4bb163ec8360b7..44256c79442d134e2b3d1afff101f62e92753944 100644
--- a/tests/language_strong/optimize_redundant_array_load_test.dart
+++ b/tests/language_strong/optimize_redundant_array_load_test.dart
@@ -7,7 +7,7 @@ import "package:expect/expect.dart";
// Test optimization of redundant array loads.
-var A = [0,2,3];
+var A = [0, 2, 3];
test1(a) {
int x = a[0];
@@ -16,12 +16,10 @@ test1(a) {
return a[0] + y + a[2];
}
-
int test2(a) {
return a[2] + a[2];
}
-
main() {
for (int i = 0; i < 20; i++) {
test1(A);

Powered by Google App Engine
This is Rietveld 408576698