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 file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 library pub_tests; | |
6 | |
7 import 'dart:convert'; | 5 import 'dart:convert'; |
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 import 'utils.dart'; | 9 import 'utils.dart'; |
12 | 10 |
13 main() { | 11 main() { |
14 integration("gets first if a dependency's source doesn't match the one in " | 12 integration("gets first if a dependency's source doesn't match the one in " |
15 "the lock file", () { | 13 "the lock file", () { |
16 d.dir("foo", [ | 14 d.dir("foo", [ |
(...skipping 17 matching lines...) Expand all Loading... |
34 } | 32 } |
35 })) | 33 })) |
36 ]).create(); | 34 ]).create(); |
37 | 35 |
38 pubGet(); | 36 pubGet(); |
39 pubServe(); | 37 pubServe(); |
40 requestShouldSucceed("packages/foo/foo.dart", 'main() => "foo";'); | 38 requestShouldSucceed("packages/foo/foo.dart", 'main() => "foo";'); |
41 endPubServe(); | 39 endPubServe(); |
42 }); | 40 }); |
43 } | 41 } |
OLD | NEW |