| Index: sdk/lib/_internal/pub/test/global/binstubs/removes_when_deactivated_test.dart
 | 
| diff --git a/sdk/lib/_internal/pub/test/global/activate/supports_version_solver_backtracking_test.dart b/sdk/lib/_internal/pub/test/global/binstubs/removes_when_deactivated_test.dart
 | 
| similarity index 50%
 | 
| copy from sdk/lib/_internal/pub/test/global/activate/supports_version_solver_backtracking_test.dart
 | 
| copy to sdk/lib/_internal/pub/test/global/binstubs/removes_when_deactivated_test.dart
 | 
| index 97d83de87b6d16c5bf37dddad9b020ab851d3f96..3a8e149c588a0abb056a3d4091105dfc803f9e82 100644
 | 
| --- a/sdk/lib/_internal/pub/test/global/activate/supports_version_solver_backtracking_test.dart
 | 
| +++ b/sdk/lib/_internal/pub/test/global/binstubs/removes_when_deactivated_test.dart
 | 
| @@ -9,23 +9,28 @@ import '../../test_pub.dart';
 | 
|  
 | 
|  main() {
 | 
|    initConfig();
 | 
| -  integration('performs verison solver backtracking if necessary', () {
 | 
| +  integration("removes binstubs when the package is deactivated", () {
 | 
|      servePackages((builder) {
 | 
| -      builder.serve("foo", "1.1.0", pubspec: {
 | 
| -        "environment": {"sdk": ">=0.1.2 <0.2.0"}
 | 
| -      });
 | 
| -      builder.serve("foo", "1.2.0", pubspec: {
 | 
| -        "environment": {"sdk": ">=0.1.3 <0.2.0"}
 | 
| -      });
 | 
| +      builder.serve("foo", "1.0.0", pubspec: {
 | 
| +        "executables": {
 | 
| +          "one": null,
 | 
| +          "two": null
 | 
| +        }
 | 
| +      }, contents: [
 | 
| +        d.dir("bin", [
 | 
| +          d.file("one.dart", "main(args) => print('one');"),
 | 
| +          d.file("two.dart", "main(args) => print('two');")
 | 
| +        ])
 | 
| +      ]);
 | 
|      });
 | 
|  
 | 
|      schedulePub(args: ["global", "activate", "foo"]);
 | 
| +    schedulePub(args: ["global", "deactivate", "foo"]);
 | 
|  
 | 
| -    // foo 1.2.0 won't be picked because its SDK constraint conflicts with the
 | 
| -    // dummy SDK version 0.1.2+3.
 | 
|      d.dir(cachePath, [
 | 
| -      d.dir('global_packages', [
 | 
| -        d.dir('foo', [d.matcherFile('pubspec.lock', contains('1.1.0'))])
 | 
| +      d.dir("bin", [
 | 
| +        d.nothing("one"),
 | 
| +        d.nothing("two")
 | 
|        ])
 | 
|      ]).validate();
 | 
|    });
 | 
| 
 |