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

Unified Diff: tests/compiler/dart2js_extra/phi_elimination_test.dart

Issue 2345083003: dart2js: run dartfmt on tests (Closed)
Patch Set: revert another multipart test Created 4 years, 3 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_extra/panda_test.dart ('k') | tests/compiler/dart2js_extra/phi_gvn_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js_extra/phi_elimination_test.dart
diff --git a/tests/compiler/dart2js_extra/phi_elimination_test.dart b/tests/compiler/dart2js_extra/phi_elimination_test.dart
index ed2fb0720c8928703d946411c7988fc482821c6e..fe3f33fb9fb33dd49adfe5a0cff92df1c5c60df6 100644
--- a/tests/compiler/dart2js_extra/phi_elimination_test.dart
+++ b/tests/compiler/dart2js_extra/phi_elimination_test.dart
@@ -8,14 +8,18 @@ void bar() {
var a = 0;
var c = 0;
- if (a == 0) c = a++;
- else c = a--;
+ if (a == 0)
+ c = a++;
+ else
+ c = a--;
Expect.equals(1, a);
Expect.equals(0, c);
- if (a == 0) c = a++;
- else c = a--;
+ if (a == 0)
+ c = a++;
+ else
+ c = a--;
Expect.equals(0, a);
Expect.equals(1, c);
« no previous file with comments | « tests/compiler/dart2js_extra/panda_test.dart ('k') | tests/compiler/dart2js_extra/phi_gvn_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698