| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS d.file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS d.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 d.file. | 3 // BSD-style license that can be found in the LICENSE d.file. |
| 4 | 4 |
| 5 import 'package:path/path.dart' as path; | 5 import 'package:path/path.dart' as path; |
| 6 | 6 |
| 7 import '../../../lib/src/exit_codes.dart' as exit_codes; | |
| 8 import '../../descriptor.dart' as d; | 7 import '../../descriptor.dart' as d; |
| 9 import '../../test_pub.dart'; | 8 import '../../test_pub.dart'; |
| 10 | 9 |
| 11 main() { | 10 main() { |
| 12 initConfig(); | 11 initConfig(); |
| 13 integration("generates a symlink with an absolute path if the dependency " | 12 integration("generates a symlink with an absolute path if the dependency " |
| 14 "path was absolute", () { | 13 "path was absolute", () { |
| 15 d.dir("foo", [ | 14 d.dir("foo", [ |
| 16 d.libDir("foo"), | 15 d.libDir("foo"), |
| 17 d.libPubspec("foo", "0.0.1") | 16 d.libPubspec("foo", "0.0.1") |
| (...skipping 15 matching lines...) Expand all Loading... |
| 33 | 32 |
| 34 d.dir("moved", [ | 33 d.dir("moved", [ |
| 35 d.dir(packagesPath, [ | 34 d.dir(packagesPath, [ |
| 36 d.dir("foo", [ | 35 d.dir("foo", [ |
| 37 d.file("foo.dart", 'main() => "foo";') | 36 d.file("foo.dart", 'main() => "foo";') |
| 38 ]) | 37 ]) |
| 39 ]) | 38 ]) |
| 40 ]).validate(); | 39 ]).validate(); |
| 41 }); | 40 }); |
| 42 } | 41 } |
| OLD | NEW |