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 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 // Regression test for issue 16470. | 12 // Regression test for issue 16470. |
15 | 13 |
16 main() { | 14 main() { |
(...skipping 29 matching lines...) Loading... |
46 // This get shouldn't upgrade the foo.git dependency due to the lockfile. | 44 // This get shouldn't upgrade the foo.git dependency due to the lockfile. |
47 pubGet(); | 45 pubGet(); |
48 | 46 |
49 d.dir(packagesPath, [ | 47 d.dir(packagesPath, [ |
50 d.dir('foo', [ | 48 d.dir('foo', [ |
51 d.file('foo.dart', 'main() => "foo";') | 49 d.file('foo.dart', 'main() => "foo";') |
52 ]) | 50 ]) |
53 ]).validate(); | 51 ]).validate(); |
54 }); | 52 }); |
55 } | 53 } |
OLD | NEW |