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

Unified Diff: test/get/hosted/do_not_upgrade_on_removed_constraints_test.dart

Issue 1491263003: Fix a bunch of tests. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Created 5 years 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 | « no previous file | test/hosted/remove_removed_transitive_dependency_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/get/hosted/do_not_upgrade_on_removed_constraints_test.dart
diff --git a/test/get/hosted/do_not_upgrade_on_removed_constraints_test.dart b/test/get/hosted/do_not_upgrade_on_removed_constraints_test.dart
index 288dbb87856136d387af5f2f4c6f1d6221073a01..8cf273693ade8dc5d8ba52f2bf807c1a3167215e 100644
--- a/test/get/hosted/do_not_upgrade_on_removed_constraints_test.dart
+++ b/test/get/hosted/do_not_upgrade_on_removed_constraints_test.dart
@@ -11,10 +11,10 @@ main() {
integration("doesn't upgrade dependencies whose constraints have been "
"removed", () {
servePackages((builder) {
- builder.serve("foo", "1.0.0", deps: {"shared-dep": "any"});
- builder.serve("bar", "1.0.0", deps: {"shared-dep": "<2.0.0"});
- builder.serve("shared-dep", "1.0.0");
- builder.serve("shared-dep", "2.0.0");
+ builder.serve("foo", "1.0.0", deps: {"shared_dep": "any"});
+ builder.serve("bar", "1.0.0", deps: {"shared_dep": "<2.0.0"});
+ builder.serve("shared_dep", "1.0.0");
+ builder.serve("shared_dep", "2.0.0");
});
d.appDir({"foo": "any", "bar": "any"}).create();
@@ -24,7 +24,7 @@ main() {
d.packagesDir({
"foo": "1.0.0",
"bar": "1.0.0",
- "shared-dep": "1.0.0"
+ "shared_dep": "1.0.0"
}).validate();
d.appDir({"foo": "any"}).create();
@@ -34,7 +34,7 @@ main() {
d.packagesDir({
"foo": "1.0.0",
"bar": null,
- "shared-dep": "1.0.0"
+ "shared_dep": "1.0.0"
}).validate();
});
}
« no previous file with comments | « no previous file | test/hosted/remove_removed_transitive_dependency_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698