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

Unified Diff: utils/tests/pub/lock_file_test.dart

Issue 10787021: Fix type checking of void type. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 5 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/language/void_type_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/tests/pub/lock_file_test.dart
===================================================================
--- utils/tests/pub/lock_file_test.dart (revision 9680)
+++ utils/tests/pub/lock_file_test.dart (working copy)
@@ -16,7 +16,9 @@
final String name = 'mock';
final bool shouldCache = false;
- void validateDescription(String description) => description.endsWith(' desc');
+ void validateDescription(String description) {
+ description.endsWith(' desc');
+ }
String packageName(String description) {
// Strip off ' desc'.
« no previous file with comments | « tests/language/void_type_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698