Index: sdk/lib/_internal/pub/test/global/run/gets_first_if_needed_test.dart |
diff --git a/sdk/lib/_internal/pub/test/global/run/gets_first_if_needed_test.dart b/sdk/lib/_internal/pub/test/global/run/gets_first_if_needed_test.dart |
deleted file mode 100644 |
index 7db99f42c50b14579a74a18634363cca7cfad369..0000000000000000000000000000000000000000 |
--- a/sdk/lib/_internal/pub/test/global/run/gets_first_if_needed_test.dart |
+++ /dev/null |
@@ -1,35 +0,0 @@ |
-// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-import 'package:scheduled_test/scheduled_stream.dart'; |
- |
-import '../../descriptor.dart' as d; |
-import '../../test_pub.dart'; |
- |
-main() { |
- initConfig(); |
- integration('gets dependencies before running if needed', () { |
- d.dir("foo", [ |
- d.libPubspec("foo", "1.0.0", deps: { |
- "bar": {"path": "../bar"} |
- }), |
- d.dir("bin", [ |
- d.file("foo.dart", "main() => print('ok');") |
- ]) |
- ]).create(); |
- |
- d.dir("bar", [ |
- d.libPubspec("bar", "1.0.0") |
- ]).create(); |
- |
- schedulePub(args: ["global", "activate", "--source", "path", "../foo"]); |
- |
- var pub = pubRun(global: true, args: ["foo"]); |
- pub.stdout.expect( |
- "Your pubspec has changed, so we need to update your lockfile:"); |
- pub.stdout.expect(consumeThrough("ok")); |
- pub.shouldExit(); |
- }); |
-} |
- |