| 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 da492fed5a3a3d475e68f3ed163f3668d1c2be33..286a534146ac79f180480198e14e66d169a2fa56 100644
|
| --- a/utils/tests/pub/lock_file_test.dart
|
| +++ b/utils/tests/pub/lock_file_test.dart
|
| @@ -18,9 +18,9 @@ class MockSource extends Source {
|
|
|
| void validateDescription(String description) => description.endsWith(' desc');
|
|
|
| - String packageName(PackageId id) {
|
| + String packageName(String description) {
|
| // Strip off ' desc'.
|
| - return id.description.substring(0, id.description.length - 5);
|
| + return description.substring(0, description.length - 5);
|
| }
|
| }
|
|
|
|
|