Index: packages/polymer/e2e_test/bad_import2/test/import_test.dart |
diff --git a/packages/polymer/e2e_test/bad_import2/test/import_test.dart b/packages/polymer/e2e_test/bad_import2/test/import_test.dart |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1abf16ada508e8f5a9765dc9d9891fa03f31a024 |
--- /dev/null |
+++ b/packages/polymer/e2e_test/bad_import2/test/import_test.dart |
@@ -0,0 +1,23 @@ |
+// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
+// for details. All rights reserved. Use of this source code is governed by a |
+// BSD-style license that can be found in the LICENSE file. |
+ |
+/// Tests how canonicalization works when using the deployed app. |
+library bad_import2.import_test; |
+ |
+import 'package:unittest/unittest.dart'; |
+import 'package:unittest/html_config.dart'; |
+import 'package:polymer/polymer.dart'; |
+ |
+import 'package:bad_import2/a.dart'; |
+ |
+main() { |
+ initPolymer(); |
+ useHtmlConfiguration(); |
+ |
+ setUp(() => Polymer.onReady); |
+ |
+ test('html import', () { |
+ expect(a, 0, reason: 'html import was not resolved correctly.'); |
+ }); |
+} |