| 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 p; | 5 import 'package:path/path.dart' as p; |
| 8 import 'package:pub/src/io.dart'; | 6 import 'package:pub/src/io.dart'; |
| 9 import 'package:scheduled_test/scheduled_test.dart'; | 7 import 'package:scheduled_test/scheduled_test.dart'; |
| 10 | 8 |
| 11 import '../../descriptor.dart' as d; | 9 import '../../descriptor.dart' as d; |
| 12 import '../../test_pub.dart'; | 10 import '../../test_pub.dart'; |
| 13 | 11 |
| 14 main() { | 12 main() { |
| 15 // Regression test for issue 20947. | 13 // Regression test for issue 20947. |
| 16 integration('checks out an unfetched and locked revision of a cached ' | 14 integration('checks out an unfetched and locked revision of a cached ' |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 ]) | 57 ]) |
| 60 ]).validate(); | 58 ]).validate(); |
| 61 | 59 |
| 62 d.dir(packagesPath, [ | 60 d.dir(packagesPath, [ |
| 63 d.dir('foo', [ | 61 d.dir('foo', [ |
| 64 d.file('foo.dart', 'main() => "foo 2";') | 62 d.file('foo.dart', 'main() => "foo 2";') |
| 65 ]) | 63 ]) |
| 66 ]).validate(); | 64 ]).validate(); |
| 67 }); | 65 }); |
| 68 } | 66 } |
| OLD | NEW |