Index: tests/html/element_add_test.dart |
diff --git a/tests/html/element_add_test.dart b/tests/html/element_add_test.dart |
index 2c2ea01890149b3d52fb73f1b08d71c81d1ab585..b58ad00170a87d1414bede8e32d7407e71163388 100644 |
--- a/tests/html/element_add_test.dart |
+++ b/tests/html/element_add_test.dart |
@@ -3,6 +3,7 @@ |
// BSD-style license that can be found in the LICENSE file |
library ElementAddTest; |
+ |
import 'package:unittest/unittest.dart'; |
import 'package:unittest/html_config.dart'; |
import 'util.dart'; |
@@ -15,10 +16,9 @@ main() { |
var isDivElement = predicate((x) => x is DivElement, 'is a DivElement'); |
var isText = predicate((x) => x is Text, 'is a Text'); |
- void expectNoSuchMethod(void fn()) => |
- expect(fn, throwsNoSuchMethodError); |
+ void expectNoSuchMethod(void fn()) => expect(fn, throwsNoSuchMethodError); |
- group('append', () { |
+ group('append', () { |
test('htmlelement', () { |
var el = new DivElement(); |
el.append(new SpanElement()); |