| 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 '../../../../../pkg/path/lib/path.dart' as path; | 5 import '../../../../../pkg/pathos/lib/path.dart' as path; |
| 6 | 6 |
| 7 import '../../../../pub/exit_codes.dart' as exit_codes; | 7 import '../../../../pub/exit_codes.dart' as exit_codes; |
| 8 import '../../test_pub.dart'; | 8 import '../../test_pub.dart'; |
| 9 | 9 |
| 10 main() { | 10 main() { |
| 11 initConfig(); | 11 initConfig(); |
| 12 integration("can use relative path", () { | 12 integration("can use relative path", () { |
| 13 dir("foo", [ | 13 dir("foo", [ |
| 14 libDir("foo"), | 14 libDir("foo"), |
| 15 libPubspec("foo", "0.0.1") | 15 libPubspec("foo", "0.0.1") |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 dir(packagesPath, [ | 63 dir(packagesPath, [ |
| 64 dir("foo", [ | 64 dir("foo", [ |
| 65 file("foo.dart", 'main() => "foo";') | 65 file("foo.dart", 'main() => "foo";') |
| 66 ]), | 66 ]), |
| 67 dir("bar", [ | 67 dir("bar", [ |
| 68 file("bar.dart", 'main() => "bar";') | 68 file("bar.dart", 'main() => "bar";') |
| 69 ]) | 69 ]) |
| 70 ]).scheduleValidate(); | 70 ]).scheduleValidate(); |
| 71 }); | 71 }); |
| 72 } | 72 } |
| OLD | NEW |