| Index: tests/lib_strong/html/hidden_dom_2_test.dart
|
| diff --git a/tests/lib_strong/html/hidden_dom_2_test.dart b/tests/lib_strong/html/hidden_dom_2_test.dart
|
| index 5e638b11dcb12ea1fd6ddc029b95b35594e99dc8..5d4d05d07f22f2aabeb2ab1f2f7402d41a24ffd9 100644
|
| --- a/tests/lib_strong/html/hidden_dom_2_test.dart
|
| +++ b/tests/lib_strong/html/hidden_dom_2_test.dart
|
| @@ -15,16 +15,19 @@ Hello World!
|
| Element e2 = new Element.html(r"<div id='xx'>XX</div>");
|
| expect(e, isNotNull);
|
|
|
| - expect(() { confuse(e).appendChild(e2); }, throwsNoSuchMethodError);
|
| -
|
| + expect(() {
|
| + confuse(e).appendChild(e2);
|
| + }, throwsNoSuchMethodError);
|
| });
|
| }
|
|
|
| class Decoy {
|
| - void appendChild(x) { throw 'dead code'; }
|
| + void appendChild(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.
|
|
|