Index: sdk/lib/_internal/pub/test/run/runs_shorthand_app_in_dependency_test.dart |
diff --git a/sdk/lib/_internal/pub/test/run/runs_named_app_in_dev_dependency_test.dart b/sdk/lib/_internal/pub/test/run/runs_shorthand_app_in_dependency_test.dart |
similarity index 72% |
copy from sdk/lib/_internal/pub/test/run/runs_named_app_in_dev_dependency_test.dart |
copy to sdk/lib/_internal/pub/test/run/runs_shorthand_app_in_dependency_test.dart |
index 6c3c1e7a34589238a982112268a5bae279c772c3..6c9f64b8bc7e8564d45c471cf8f35aa801a4b43f 100644 |
--- a/sdk/lib/_internal/pub/test/run/runs_named_app_in_dev_dependency_test.dart |
+++ b/sdk/lib/_internal/pub/test/run/runs_shorthand_app_in_dependency_test.dart |
@@ -7,18 +7,18 @@ import '../test_pub.dart'; |
main() { |
initConfig(); |
- integration('runs a named Dart application in a dev dependency', () { |
+ integration('runs a shorthand Dart application in a dependency', () { |
d.dir("foo", [ |
d.libPubspec("foo", "1.0.0"), |
d.dir("bin", [ |
- d.file("bar.dart", "main() => print('foobar');") |
+ d.file("foo.dart", "main() => print('foo');") |
]) |
]).create(); |
d.dir(appPath, [ |
d.pubspec({ |
"name": "myapp", |
- "dev_dependencies": { |
+ "dependencies": { |
"foo": {"path": "../foo"} |
} |
}) |
@@ -26,8 +26,8 @@ main() { |
pubGet(); |
- var pub = pubRun(args: ["foo:bar"]); |
- pub.stdout.expect("foobar"); |
+ var pub = pubRun(args: ["foo"]); |
+ pub.stdout.expect("foo"); |
pub.shouldExit(); |
}); |
} |