Index: utils/tests/pub/pubspec_test.dart |
=================================================================== |
--- utils/tests/pub/pubspec_test.dart (revision 13683) |
+++ utils/tests/pub/pubspec_test.dart (working copy) |
@@ -14,7 +14,7 @@ |
class MockSource extends Source { |
final String name = "mock"; |
final bool shouldCache = false; |
- void validateDescription(description, [bool fromLockFile=false]) { |
+ void validateDescription(description, {bool fromLockFile: false}) { |
if (description != 'ok') throw new FormatException('Bad'); |
} |
String packageName(description) => 'foo'; |