| Index: tests/lib_strong/html/hidden_dom_1_test.dart
|
| diff --git a/tests/lib_strong/html/hidden_dom_1_test.dart b/tests/lib_strong/html/hidden_dom_1_test.dart
|
| index a1c5dc358fd8f0da3db56e51e0b411488f9678d8..9334b5e8054e34665c17bcf34000f2a47d7d5b52 100644
|
| --- a/tests/lib_strong/html/hidden_dom_1_test.dart
|
| +++ b/tests/lib_strong/html/hidden_dom_1_test.dart
|
| @@ -14,16 +14,19 @@ Hello World!
|
| Element e = document.query('#div1');
|
| expect(e, isNotNull);
|
|
|
| - expect(() { confuse(e).onfocus = null; }, throwsNoSuchMethodError);
|
| + expect(() {
|
| + confuse(e).onfocus = null;
|
| + }, throwsNoSuchMethodError);
|
| });
|
| -
|
| }
|
|
|
| class Decoy {
|
| - void set onfocus(x) { throw 'dead code'; }
|
| + void set onfocus(x) {
|
| + throw 'dead code';
|
| + }
|
| }
|
|
|
| confuse(x) => opaqueTrue() ? x : (opaqueTrue() ? new Object() : new Decoy());
|
|
|
| /** Returns `true`, but in a way that confuses the compiler. */
|
| -opaqueTrue() => true; // Expand as needed.
|
| +opaqueTrue() => true; // Expand as needed.
|
|
|