Index: tests/lib_strong/html/mutationobserver_test.dart |
diff --git a/tests/lib_strong/html/mutationobserver_test.dart b/tests/lib_strong/html/mutationobserver_test.dart |
index e2de7e0afacb78b6be179d18a7b300c7b027d12f..7ef574a1227c84e2609d1a60553447d5cb7ba047 100644 |
--- a/tests/lib_strong/html/mutationobserver_test.dart |
+++ b/tests/lib_strong/html/mutationobserver_test.dart |
@@ -3,6 +3,7 @@ |
// BSD-style license that can be found in the LICENSE file. |
library mutationobserver_test; |
+ |
import 'package:unittest/unittest.dart'; |
import 'package:unittest/html_individual_config.dart'; |
import 'dart:html'; |
@@ -56,11 +57,12 @@ main() { |
test('empty options is syntax error', () { |
expect(() { |
- var mutationObserver = new MutationObserver( |
- (mutations, observer) { expect(false, isTrue, |
- reason: 'Should not be reached'); }); |
- expect(() { mutationObserver.observe(document, {}); }, |
- throws); |
+ var mutationObserver = new MutationObserver((mutations, observer) { |
+ expect(false, isTrue, reason: 'Should not be reached'); |
+ }); |
+ expect(() { |
+ mutationObserver.observe(document, {}); |
+ }, throws); |
}, expectation); |
}); |