Index: utils/tests/pub/lock_file_test.dart |
diff --git a/utils/tests/pub/lock_file_test.dart b/utils/tests/pub/lock_file_test.dart |
index eeef7bf2716de40682bf8346148958fd0d90bb6a..cd57bd127d3c5a923065de3c07365f03e6d9d712 100644 |
--- a/utils/tests/pub/lock_file_test.dart |
+++ b/utils/tests/pub/lock_file_test.dart |
@@ -17,8 +17,10 @@ class MockSource extends Source { |
final String name = 'mock'; |
final bool shouldCache = false; |
- void validateDescription(String description, {bool fromLockFile: false}) { |
+ dynamic parseDescription(String filePath, String description, |
+ {bool fromLockFile: false}) { |
if (!description.endsWith(' desc')) throw new FormatException(); |
+ return description; |
} |
String packageName(String description) { |