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

Unified Diff: tests/language_strong/inline_value_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_value_context_test.dart
diff --git a/tests/language_strong/inline_value_context_test.dart b/tests/language_strong/inline_value_context_test.dart
index 5ffb694179f8d087b91f979795416a742e9b2e52..17f4e1a8069aaf726882f1f0a9aa91e26b131942 100644
--- a/tests/language_strong/inline_value_context_test.dart
+++ b/tests/language_strong/inline_value_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,8 @@ int bar(o) {
}
int foo(o) {
- if (bar(o) > 0) { // <-- Used in a value context.
+ if (bar(o) > 0) {
+ // <-- Used in a value context.
return 1;
} else {
return 0;
@@ -37,6 +39,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(20, sum);
}

Powered by Google App Engine
This is Rietveld 408576698