| Index: sdk/lib/_internal/pub_generated/test/run/nonexistent_dependency_test.dart
|
| diff --git a/sdk/lib/_internal/pub/test/run/nonexistent_dependency_test.dart b/sdk/lib/_internal/pub_generated/test/run/nonexistent_dependency_test.dart
|
| similarity index 76%
|
| copy from sdk/lib/_internal/pub/test/run/nonexistent_dependency_test.dart
|
| copy to sdk/lib/_internal/pub_generated/test/run/nonexistent_dependency_test.dart
|
| index 4ecb666f444c32f1b12236509f82702feb158278..f57ce49f9bbecc02015d21f7152d7817d14c0541 100644
|
| --- a/sdk/lib/_internal/pub/test/run/nonexistent_dependency_test.dart
|
| +++ b/sdk/lib/_internal/pub_generated/test/run/nonexistent_dependency_test.dart
|
| @@ -9,13 +9,11 @@ import '../test_pub.dart';
|
| main() {
|
| initConfig();
|
| integration('Errors if the script is in an unknown package.', () {
|
| - d.dir(appPath, [
|
| - d.appPubspec()
|
| - ]).create();
|
| + d.dir(appPath, [d.appPubspec()]).create();
|
|
|
| var pub = pubRun(args: ["foo:script"]);
|
| - pub.stderr.expect('Could not find package "foo". Did you forget to add a '
|
| - 'dependency?');
|
| + pub.stderr.expect(
|
| + 'Could not find package "foo". Did you forget to add a ' 'dependency?');
|
| pub.shouldExit(exit_codes.DATA);
|
| });
|
| }
|
|
|