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

Unified Diff: tests/language/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/inline_effect_context_test.dart
diff --git a/tests/language/inline_effect_context_test.dart b/tests/language/inline_effect_context_test.dart
index 0fc2afe344f3b5d276e4a38748425337954b5de2..a8586edd210400121ac127e54feb404ff9ce7088 100644
--- a/tests/language/inline_effect_context_test.dart
+++ b/tests/language/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