Index: sdk/lib/_internal/pub/test/lock_file_test.dart |
diff --git a/sdk/lib/_internal/pub/test/lock_file_test.dart b/sdk/lib/_internal/pub/test/lock_file_test.dart |
index b69cce4587c249b8484583376ce9fb2da55f47c9..29c9fcc569acf951d45eaadde30d53d577fc2019 100644 |
--- a/sdk/lib/_internal/pub/test/lock_file_test.dart |
+++ b/sdk/lib/_internal/pub/test/lock_file_test.dart |
@@ -179,7 +179,7 @@ packages: |
lockfile.packages['bar'] = new PackageId( |
'bar', mockSource.name, new Version.parse('3.2.1'), 'bar desc'); |
- expect(loadYaml(lockfile.serialize()), equals({ |
+ expect(loadYaml(lockfile.serialize(null, sources)), equals({ |
'packages': { |
'foo': { |
'version': '1.2.3', |