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

Unified Diff: tests/language_strong/field_optimization_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/field_optimization_test.dart
diff --git a/tests/language_strong/field_optimization_test.dart b/tests/language_strong/field_optimization_test.dart
index 1d1ba3c87f2c4d41178d73d2e849c8463325942e..58a1461c64704b0ee6bd6b627e930d0225e661dc 100644
--- a/tests/language_strong/field_optimization_test.dart
+++ b/tests/language_strong/field_optimization_test.dart
@@ -6,16 +6,17 @@ import "package:expect/expect.dart";
// Dart test program to test type-based optimization on fields.
-
class A {
var x;
A() : x = 0;
foo() {
x++;
}
+
toto() {
x = 99;
}
+
bar(y) {
x = y;
}
@@ -24,6 +25,7 @@ class A {
class B {
operator +(other) => "ok";
}
+
main() {
var a = new A();
a.foo();

Powered by Google App Engine
This is Rietveld 408576698