| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 import 'package:scheduled_test/scheduled_test.dart'; | |
| 6 | |
| 7 import '../../descriptor.dart' as d; | 5 import '../../descriptor.dart' as d; |
| 8 import '../../test_pub.dart'; | 6 import '../../test_pub.dart'; |
| 9 | 7 |
| 10 main() { | 8 main() { |
| 11 integration("does not create binstubs if --no-executables is passed", () { | 9 integration("does not create binstubs if --no-executables is passed", () { |
| 12 d.dir("foo", [ | 10 d.dir("foo", [ |
| 13 d.pubspec({ | 11 d.pubspec({ |
| 14 "name": "foo", | 12 "name": "foo", |
| 15 "executables": { | 13 "executables": { |
| 16 "one": null | 14 "one": null |
| (...skipping 11 matching lines...) Expand all Loading... |
| 28 ]); | 26 ]); |
| 29 | 27 |
| 30 // Should still delete old one. | 28 // Should still delete old one. |
| 31 d.dir(cachePath, [ | 29 d.dir(cachePath, [ |
| 32 d.dir("bin", [ | 30 d.dir("bin", [ |
| 33 d.nothing(binStubName("one")) | 31 d.nothing(binStubName("one")) |
| 34 ]) | 32 ]) |
| 35 ]).validate(); | 33 ]).validate(); |
| 36 }); | 34 }); |
| 37 } | 35 } |
| OLD | NEW |