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

Unified Diff: tests/compiler/dart2js_native/load_elim_refinement_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/compiler/dart2js_native/load_elim_refinement_test.dart
diff --git a/tests/compiler/dart2js_native/load_elim_refinement_test.dart b/tests/compiler/dart2js_native/load_elim_refinement_test.dart
index 981c0fa19019ef20999b0690b272ae81ee033889..d7a090f31587dcad5629c7e2b5c89e1f89d278f0 100644
--- a/tests/compiler/dart2js_native/load_elim_refinement_test.dart
+++ b/tests/compiler/dart2js_native/load_elim_refinement_test.dart
@@ -13,7 +13,10 @@ class B extends A {
}
@NoInline()
-escape(v) { g = v; }
+escape(v) {
+ g = v;
+}
+
var g;
main() {
@@ -22,7 +25,7 @@ main() {
a.a = 1;
if (a is B) {
- escape(a); // Here we need to escape 'a' not the refinement of a to B.
+ escape(a); // Here we need to escape 'a' not the refinement of a to B.
g.a = 2;
Expect.equals(2, a.a);
}

Powered by Google App Engine
This is Rietveld 408576698