Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(273)

Unified Diff: sdk/lib/_internal/pub/test/lock_file_test.dart

Issue 34803006: Make pubspec.lock keep relative path if it is originally specified as relative in pubspec.yaml (iss… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Improve code according to the code review comments Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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',
« no previous file with comments | « sdk/lib/_internal/pub/test/get/path/relative_path_test.dart ('k') | sdk/lib/_internal/pub/test/test_pub.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698