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

Unified Diff: test/upgrade/hosted/upgrade_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 | « test/upgrade/git/do_not_upgrade_if_unneeded_test.dart ('k') | test/validator/name_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/upgrade/hosted/upgrade_removed_constraints_test.dart
diff --git a/test/upgrade/hosted/upgrade_removed_constraints_test.dart b/test/upgrade/hosted/upgrade_removed_constraints_test.dart
index 53df2155d3d71c282f2f216bc60746764a59812e..b8ec8371a70297dac4376843a2ad013ef22b1a97 100644
--- a/test/upgrade/hosted/upgrade_removed_constraints_test.dart
+++ b/test/upgrade/hosted/upgrade_removed_constraints_test.dart
@@ -10,10 +10,10 @@ import '../../test_pub.dart';
main() {
integration("upgrades 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();
@@ -23,7 +23,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();
@@ -33,7 +33,7 @@ main() {
d.packagesDir({
"foo": "1.0.0",
"bar": null,
- "shared-dep": "2.0.0"
+ "shared_dep": "2.0.0"
}).validate();
});
}
« no previous file with comments | « test/upgrade/git/do_not_upgrade_if_unneeded_test.dart ('k') | test/validator/name_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698