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

Unified Diff: tests/language_strong/branch_canonicalization_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/branch_canonicalization_test.dart
diff --git a/tests/language_strong/branch_canonicalization_test.dart b/tests/language_strong/branch_canonicalization_test.dart
index bb49d6e35b5b0f046c68066be5ed6aa22cd140ad..e1745becf95dd530629c7badf86afe3d5bf7bb2c 100644
--- a/tests/language_strong/branch_canonicalization_test.dart
+++ b/tests/language_strong/branch_canonicalization_test.dart
@@ -16,6 +16,7 @@ barDouble(a, b) {
sideEffect = !sideEffect;
return result;
}
+
fooDouble(a, b) => barDouble(a, b) ? 1 : 0;
barMint(a, b) {
@@ -24,17 +25,16 @@ barMint(a, b) {
sideEffect = !sideEffect;
return result;
}
+
fooMint(a, b) => barMint(a, b) ? 1 : 0;
class A {
- operator == (other) => identical(this, other);
+ operator ==(other) => identical(this, other);
}
-class B extends A {
-}
+class B extends A {}
-class C extends A {
-}
+class C extends A {}
barPoly(a, b) {
sideEffect = false;
@@ -45,7 +45,7 @@ barPoly(a, b) {
fooPoly(a, b) => barPoly(a, b) ? 1 : 0;
-main () {
+main() {
final a = 1.0;
final b = 1 << 62;
final x = new A(), y = new B(), z = new C();

Powered by Google App Engine
This is Rietveld 408576698