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

Unified Diff: tests/language/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/branch_canonicalization_test.dart
diff --git a/tests/language/branch_canonicalization_test.dart b/tests/language/branch_canonicalization_test.dart
index 10ba232960d1741e90e8eadc89868b1bf02b0a15..dfb35f6c62fa20759ab272a1a13bb302d2498110 100644
--- a/tests/language/branch_canonicalization_test.dart
+++ b/tests/language/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