| 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 sunflower_test; | 5 library sunflower_test; |
| 6 | 6 |
| 7 import '../web/sunflower.dart' as sunflower; | 7 import '../web/sunflower.dart' as sunflower; |
| 8 | 8 |
| 9 // @static-clean | |
| 10 | |
| 11 /** | 9 /** |
| 12 * This test exists to ensure that the sunflower sample compiles without errors. | 10 * This test exists to ensure that the sunflower sample compiles without errors. |
| 13 */ | 11 */ |
| 14 void main() { | 12 void main() { |
| 15 // Reference the sunflower library so that the import isn't marked as unused. | 13 // Reference the sunflower library so that the import isn't marked as unused. |
| 16 String s = sunflower.ORANGE; | 14 String s = sunflower.ORANGE; |
| 17 s = null; | 15 s = null; |
| 18 print(s); | 16 print(s); |
| 19 } | 17 } |
| OLD | NEW |