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

Unified Diff: tests/language_strong/inline_effect_context_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/inline_effect_context_test.dart
diff --git a/tests/language_strong/inline_effect_context_test.dart b/tests/language_strong/inline_effect_context_test.dart
index e10e493c4a5a7b44adc6ce33641711b34db7c866..0529c1c09ff41829ab94c66d11a9d7aa51ed8083 100644
--- a/tests/language_strong/inline_effect_context_test.dart
+++ b/tests/language_strong/inline_effect_context_test.dart
@@ -17,7 +17,8 @@ class B {
}
int bar(o) {
- if (o.x > 0) { // <-- Deoptimize from inner frame.
+ if (o.x > 0) {
+ // <-- Deoptimize from inner frame.
return 1;
} else {
return 0;
@@ -25,7 +26,7 @@ int bar(o) {
}
int foo(o) {
- bar(o); // <-- Used in an effect context.
+ bar(o); // <-- Used in an effect context.
return 1;
}
@@ -34,6 +35,6 @@ main() {
int sum = 0;
for (int i = 0; i < 20; i++) sum += foo(o);
o = new B();
- sum += foo(o); // <-- Cause deoptimization of bar within foo.
+ sum += foo(o); // <-- Cause deoptimization of bar within foo.
Expect.equals(21, sum);
}

Powered by Google App Engine
This is Rietveld 408576698