Index: tests/language/equality_test.dart |
diff --git a/tests/language/equality_test.dart b/tests/language/equality_test.dart |
index ed6d2271738cea7c704b45c06492c89d2822a711..6b8a9206fa5664465cd30cf4eaf664a816327bdb 100644 |
--- a/tests/language/equality_test.dart |
+++ b/tests/language/equality_test.dart |
@@ -5,18 +5,20 @@ |
import "package:expect/expect.dart"; |
- |
class A { |
bool _result; |
A(this._result); |
- operator ==(x) { return _result; } |
+ operator ==(x) { |
+ return _result; |
+ } |
} |
- |
-opaque(x) => [x,1,'y'][0]; // confuse the optimizers. |
+opaque(x) => [x, 1, 'y'][0]; // confuse the optimizers. |
class Death { |
- operator ==(x) { throw 'Dead!'; } |
+ operator ==(x) { |
+ throw 'Dead!'; |
+ } |
} |
death() => opaque(new Death()); |
@@ -47,8 +49,7 @@ tests() { |
if (death() == nullFn()) { |
throw "failed"; |
} |
- if (death() != nullFn()) { |
- } else { |
+ if (death() != nullFn()) {} else { |
throw "failed"; |
} |
} |