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