OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 library google_maps_test; | 5 library google_maps_test; |
6 | 6 |
7 // Import `web/index.dart` to ensure analyzer tests run on that file. So there | 7 // Import `web/index.dart` to ensure analyzer tests run on that file. So there |
8 // is no error related to an unused import, reference `web/index.dart`'s | 8 // is no error related to an unused import, reference `web/index.dart`'s |
9 // `main()` within this file's `main()`. | 9 // `main()` within this file's `main()`. |
10 import '../web/index.dart' as google_maps; | 10 import '../web/index.dart' as google_maps; |
11 | 11 |
12 /** | 12 /** |
13 * This test exists to ensure that the google_maps sample compiles without | 13 * This test exists to ensure that the google_maps sample compiles without |
14 * errors. | 14 * errors. |
15 */ | 15 */ |
16 | 16 |
17 void main() { | 17 void main() { |
18 // Reference the google_maps library so that the import isn't marked | 18 // Reference the google_maps library so that the import isn't marked |
19 // as unused. | 19 // as unused. |
20 google_maps.main; | 20 google_maps.main; |
21 } | 21 } |
OLD | NEW |