Index: tests/html/unknownelement_test.dart |
diff --git a/tests/html/unknownelement_test.dart b/tests/html/unknownelement_test.dart |
index 21ba1ef1e196d6dc600e090f9f6881c1910b0867..0957766e53a5d85b98f0bf7cf8d5690528fb572a 100644 |
--- a/tests/html/unknownelement_test.dart |
+++ b/tests/html/unknownelement_test.dart |
@@ -3,6 +3,7 @@ |
// BSD-style license that can be found in the LICENSE file |
library UnknownElementTest; |
+ |
import 'package:unittest/unittest.dart'; |
import 'package:unittest/html_config.dart'; |
import 'dart:html'; |
@@ -20,15 +21,17 @@ main() { |
document.body.nodes.addAll([foo, bar]); |
test('type-check', () { |
- expect(foo, isUnknownElement); |
- expect(bar, isUnknownElement); |
- expect(query('#foo'), equals(foo)); |
- expect(query('#bar'), equals(bar)); |
- }); |
+ expect(foo, isUnknownElement); |
+ expect(bar, isUnknownElement); |
+ expect(query('#foo'), equals(foo)); |
+ expect(query('#bar'), equals(bar)); |
+ }); |
test('dispatch-fail', () { |
- expect(() => foo.method1(), throwsNoSuchMethodError); |
- expect(() => foo.field1, throwsNoSuchMethodError); |
- expect(() { foo.field1 = 42; }, throwsNoSuchMethodError); |
- }); |
+ expect(() => foo.method1(), throwsNoSuchMethodError); |
+ expect(() => foo.field1, throwsNoSuchMethodError); |
+ expect(() { |
+ foo.field1 = 42; |
+ }, throwsNoSuchMethodError); |
+ }); |
} |