| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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:path/path.dart' as path; | |
| 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 initConfig(); | 9 initConfig(); |
| 12 integration("includes root package's dev dependencies", () { | 10 integration("includes root package's dev dependencies", () { |
| 13 d.dir('foo', [ | 11 d.dir('foo', [ |
| 14 d.libDir('foo'), | 12 d.libDir('foo'), |
| 15 d.libPubspec('foo', '0.0.1') | 13 d.libPubspec('foo', '0.0.1') |
| 16 ]).create(); | 14 ]).create(); |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 pubInstall(); | 100 pubInstall(); |
| 103 | 101 |
| 104 d.dir(packagesPath, [ | 102 d.dir(packagesPath, [ |
| 105 d.dir("foo", [ | 103 d.dir("foo", [ |
| 106 d.file("foo.dart", 'main() => "foo";') | 104 d.file("foo.dart", 'main() => "foo";') |
| 107 ]), | 105 ]), |
| 108 d.nothing("bar") | 106 d.nothing("bar") |
| 109 ]).validate(); | 107 ]).validate(); |
| 110 }); | 108 }); |
| 111 } | 109 } |
| OLD | NEW |