| // 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 canonicalization.bad_lib_import_negative; |
| |
| import 'package:unittest/unittest.dart'; |
| import 'package:unittest/html_config.dart'; |
| import 'package:polymer/polymer.dart'; |
| |
| import 'package:good_import/a.dart'; |
| |
| main() { |
| initPolymer(); |
| useHtmlConfiguration(); |
| |
| setUp(() => Polymer.onReady); |
| |
| test('html import', () { |
| expect(a, 1, reason: 'html import is resolved correctly.'); |
| }); |
| } |