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

Side by Side Diff: dart/samples/sunflower/test/sunflower_test.dart

Issue 46163002: Bugfix in test.dart, adding of specialized test outcomes for analyzer (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698