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

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

Issue 179043004: Allow a wider pub constraint on barback. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: code review Created 6 years, 10 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 | « sdk/lib/_internal/pub/lib/src/solver/backtracking_solver.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/pub/test/implicit_barback_dependency_test.dart
diff --git a/sdk/lib/_internal/pub/test/implicit_barback_dependency_test.dart b/sdk/lib/_internal/pub/test/implicit_barback_dependency_test.dart
index 894cf5163c9bf3772899983bf86b09828676932c..3bc488a6ab454975eae28abef3df4c8314ddb38f 100644
--- a/sdk/lib/_internal/pub/test/implicit_barback_dependency_test.dart
+++ b/sdk/lib/_internal/pub/test/implicit_barback_dependency_test.dart
@@ -10,11 +10,11 @@ import '../lib/src/version.dart';
main() {
initConfig();
- var current = barback.supportedVersion.toString();
- var previous = new Version(barback.supportedVersion.major,
- barback.supportedVersion.minor - 1, 0).toString();
- var nextPatch = barback.supportedVersion.nextPatch.toString();
- var max = barback.supportedVersion.nextMinor.toString();
+ var current = barback.supportedVersions.min.toString();
+ var previous = new Version(barback.supportedVersions.min.major,
+ barback.supportedVersions.min.minor - 1, 0).toString();
+ var nextPatch = barback.supportedVersions.min.nextPatch.toString();
+ var max = barback.supportedVersions.max.toString();
forBothPubGetAndUpgrade((command) {
integration("implicitly constrains barback to versions pub supports", () {
@@ -32,7 +32,7 @@ main() {
pubCommand(command);
d.packagesDir({
- "barback": barback.supportedVersion.nextPatch.toString()
+ "barback": barback.supportedVersions.min.nextPatch.toString()
}).validate();
});
« no previous file with comments | « sdk/lib/_internal/pub/lib/src/solver/backtracking_solver.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698