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

Unified Diff: test/html_import_annotation_test.dart

Issue 1026153002: add initWebComponents (Closed) Base URL: git@github.com:dart-lang/web-components.git@master
Patch Set: code review updates Created 5 years, 9 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 | « test/deps/c.html ('k') | test/init_web_components_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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');
« no previous file with comments | « test/deps/c.html ('k') | test/init_web_components_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698