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

Unified Diff: tests/language_strong/inline_test_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_test_context_test.dart
diff --git a/tests/language_strong/inline_test_context_test.dart b/tests/language_strong/inline_test_context_test.dart
index 89a3e749bed81feb0a5dfe4d9f45a69d7dc373d4..dd0143df93bdaef2473e023503acbd8a64a68b43 100644
--- a/tests/language_strong/inline_test_context_test.dart
+++ b/tests/language_strong/inline_test_context_test.dart
@@ -17,7 +17,8 @@ class B {
}
bool bar(o) {
- if (o.x > 0) { // <-- Deoptimize from inner frame.
+ if (o.x > 0) {
+ // <-- Deoptimize from inner frame.
return true;
} else {
return false;
@@ -25,7 +26,8 @@ bool bar(o) {
}
int foo(o) {
- if (bar(o)) { // <-- Used in a test context.
+ if (bar(o)) {
+ // <-- Used in a test 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