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

Unified Diff: tests/compiler/dart2js_extra/bailout_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
Index: tests/compiler/dart2js_extra/bailout_test.dart
diff --git a/tests/compiler/dart2js_extra/bailout_test.dart b/tests/compiler/dart2js_extra/bailout_test.dart
index 52b02a198f9bc32773672a76f2312a13576ead88..ab762c917dca8a900eeaf7cee300197604869610 100644
--- a/tests/compiler/dart2js_extra/bailout_test.dart
+++ b/tests/compiler/dart2js_extra/bailout_test.dart
@@ -131,8 +131,10 @@ void ifPhiBailout1(int bailout) {
var a = 0;
var c = 0;
- if (a == 0) c = a++;
- else c = a--;
+ if (a == 0)
+ c = a++;
+ else
+ c = a--;
if (bailout == 1) {
var o = myString;
@@ -143,8 +145,10 @@ void ifPhiBailout1(int bailout) {
Expect.equals(1, a);
Expect.equals(0, c);
- if (a == 0) c = a++;
- else c = a--;
+ if (a == 0)
+ c = a++;
+ else
+ c = a--;
if (bailout == 2) {
var o = myString;

Powered by Google App Engine
This is Rietveld 408576698