Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1536)

Unified Diff: tests/html/custom/document_register_type_extensions_test.dart

Issue 27220003: Fixing status of document.register test for dart2js tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tests/html/html.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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', () {
« no previous file with comments | « no previous file | tests/html/html.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698