| Index: tests/html/custom/document_register_type_extensions_test.dart
|
| diff --git a/tests/html/custom/document_register_type_extensions_test.dart b/tests/html/custom/document_register_type_extensions_test.dart
|
| index 385887ffbcd14b45be8ab5d31c07c288d0985a64..5acba993974d642a42a683e20cf0c9c875f3919d 100644
|
| --- a/tests/html/custom/document_register_type_extensions_test.dart
|
| +++ b/tests/html/custom/document_register_type_extensions_test.dart
|
| @@ -72,20 +72,22 @@ main() {
|
|
|
| setUp(loadPolyfills);
|
|
|
| - group('construction', () {
|
| + group('registration', () {
|
| setUp(registerTypes);
|
|
|
| - group('registration', () {
|
| - test('cannot register twice', () {
|
| - expect(() => document.register(FooBad.tag, Foo), throws);
|
| - });
|
| + test('cannot register twice', () {
|
| + expect(() => document.register(FooBad.tag, Foo), throws);
|
| + });
|
|
|
| - test('cannot register for non-matching tag', () {
|
| - expect(() {
|
| - document.register('x-input-div', Bar, extendsTag: 'div');
|
| - }, throws);
|
| - });
|
| + test('cannot register for non-matching tag', () {
|
| + expect(() {
|
| + document.register('x-input-div', Bar, extendsTag: 'div');
|
| + }, throws);
|
| });
|
| + });
|
| +
|
| + group('construction', () {
|
| + setUp(registerTypes);
|
|
|
| group('constructors', () {
|
|
|
|
|