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

Unified Diff: utils/tests/pub/version_solver_test.dart

Issue 10874051: Support self-referential package: imports with Pub. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review change Created 8 years, 4 months 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
« no previous file with comments | « utils/tests/pub/test_pub.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/tests/pub/version_solver_test.dart
diff --git a/utils/tests/pub/version_solver_test.dart b/utils/tests/pub/version_solver_test.dart
index 51362f33cbcc60a0f42022467410a568a2bb0228..fe2a0a0760a8f090f3d21ead2ad68e716071d6f1 100644
--- a/utils/tests/pub/version_solver_test.dart
+++ b/utils/tests/pub/version_solver_test.dart
@@ -407,8 +407,9 @@ class MockSource extends Source {
parsed.last, new VersionConstraint.parse(constraint), parsed.first));
});
- var pubspec = new Pubspec(new Version.parse(version), dependencies);
- return new Package.inMemory(description, pubspec);
+ var pubspec = new Pubspec(
+ description, new Version.parse(version), dependencies);
+ return new Package.inMemory(pubspec);
}
void addPackage(Package package) {
« no previous file with comments | « utils/tests/pub/test_pub.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698