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(); |