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";'); |