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

Unified Diff: tests/language/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/inline_test_context_test.dart
diff --git a/tests/language/inline_test_context_test.dart b/tests/language/inline_test_context_test.dart
index 2c8fe2999b5933684fce984948f829eb7c7bad12..625f3bbfbb840695e59e9ba391b57aefa5a1780a 100644
--- a/tests/language/inline_test_context_test.dart
+++ b/tests/language/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