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

Unified Diff: sdk/lib/_internal/pub_generated/test/serve/gets_first_if_dev_dependency_changed_test.dart

Issue 887223007: Revert "Use native async/await support in pub." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 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
Index: sdk/lib/_internal/pub_generated/test/serve/gets_first_if_dev_dependency_changed_test.dart
diff --git a/sdk/lib/_internal/pub/test/serve/gets_first_if_dev_dependency_changed_test.dart b/sdk/lib/_internal/pub_generated/test/serve/gets_first_if_dev_dependency_changed_test.dart
similarity index 74%
copy from sdk/lib/_internal/pub/test/serve/gets_first_if_dev_dependency_changed_test.dart
copy to sdk/lib/_internal/pub_generated/test/serve/gets_first_if_dev_dependency_changed_test.dart
index 6b41d0162b7d2ccdfcebb0664750914ddc6e7373..69e8f66ac7bf24d7dba1cdf4b4f07fca64ef19e4 100644
--- a/sdk/lib/_internal/pub/test/serve/gets_first_if_dev_dependency_changed_test.dart
+++ b/sdk/lib/_internal/pub_generated/test/serve/gets_first_if_dev_dependency_changed_test.dart
@@ -13,23 +13,19 @@ import 'utils.dart';
main() {
initConfig();
integration("gets first if a dev dependency has changed", () {
- d.dir("foo", [
- d.libPubspec("foo", "0.0.1"),
- d.libDir("foo")
- ]).create();
+ d.dir("foo", [d.libPubspec("foo", "0.0.1"), d.libDir("foo")]).create();
// Create a pubspec with "foo" and a lock file without it.
- d.dir(appPath, [
- d.pubspec({
+ d.dir(appPath, [d.pubspec({
"name": "myapp",
"dev_dependencies": {
- "foo": {"path": "../foo"}
+ "foo": {
+ "path": "../foo"
+ }
}
- }),
- d.file("pubspec.lock", JSON.encode({
+ }), d.file("pubspec.lock", JSON.encode({
'packages': {}
- }))
- ]).create();
+ }))]).create();
pubServe(shouldGetFirst: true);
requestShouldSucceed("packages/foo/foo.dart", 'main() => "foo";');

Powered by Google App Engine
This is Rietveld 408576698