| Index: test/html_import_annotation_test.dart
|
| diff --git a/test/html_import_annotation_test.dart b/test/html_import_annotation_test.dart
|
| index 09a3ffd7af6b1b5105c63016248fc620c2152119..6b81a58a8e1619d2552f28fdfaa4e59eb6519aeb 100644
|
| --- a/test/html_import_annotation_test.dart
|
| +++ b/test/html_import_annotation_test.dart
|
| @@ -7,10 +7,9 @@
|
| library web_components.test.html_import_annotation;
|
|
|
| import 'dart:html';
|
| -import 'package:initialize/initialize.dart' as init;
|
| import 'package:unittest/html_config.dart';
|
| import 'package:unittest/unittest.dart';
|
| -import 'package:web_components/html_import_annotation.dart';
|
| +import 'package:web_components/web_components.dart';
|
| import 'foo/bar.dart';
|
|
|
| const String importPath = 'my_import.html';
|
| @@ -19,7 +18,7 @@ main() {
|
| useHtmlConfiguration();
|
|
|
| test('adds import to head', () {
|
| - return init.run().then((_) {
|
| + return initWebComponents().then((_) {
|
| var my_import = document.head.querySelector('link[href="$importPath"]');
|
| expect(my_import, isNotNull);
|
| expect(my_import.import.body.text, 'Hello world!\n');
|
|
|