| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 library pub_tests; | |
| 6 | |
| 7 import 'package:path/path.dart' as path; | 5 import 'package:path/path.dart' as path; |
| 8 | 6 |
| 9 import '../descriptor.dart' as d; | 7 import '../descriptor.dart' as d; |
| 10 import '../test_pub.dart'; | 8 import '../test_pub.dart'; |
| 11 | 9 |
| 12 main() { | 10 main() { |
| 13 integration('replaces a broken "packages" symlink', () { | 11 integration('replaces a broken "packages" symlink', () { |
| 14 d.dir(appPath, [ | 12 d.dir(appPath, [ |
| 15 d.appPubspec(), | 13 d.appPubspec(), |
| 16 d.libDir('foo'), | 14 d.libDir('foo'), |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 d.dir("bin", [ | 47 d.dir("bin", [ |
| 50 d.dir("packages", [ | 48 d.dir("packages", [ |
| 51 d.dir("myapp", [ | 49 d.dir("myapp", [ |
| 52 d.file('foo.dart', 'main() => "foo";') | 50 d.file('foo.dart', 'main() => "foo";') |
| 53 ]) | 51 ]) |
| 54 ]) | 52 ]) |
| 55 ]) | 53 ]) |
| 56 ]).validate(); | 54 ]).validate(); |
| 57 }); | 55 }); |
| 58 } | 56 } |
| OLD | NEW |