| 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 dev dependency has changed", () { | 12 integration("gets first if a dev dependency has changed", () { |
| 15 d.dir("foo", [ | 13 d.dir("foo", [ |
| 16 d.libPubspec("foo", "0.0.1"), | 14 d.libPubspec("foo", "0.0.1"), |
| (...skipping 12 matching lines...) Expand all Loading... |
| 29 'packages': {} | 27 'packages': {} |
| 30 })) | 28 })) |
| 31 ]).create(); | 29 ]).create(); |
| 32 | 30 |
| 33 pubGet(); | 31 pubGet(); |
| 34 pubServe(); | 32 pubServe(); |
| 35 requestShouldSucceed("packages/foo/foo.dart", 'main() => "foo";'); | 33 requestShouldSucceed("packages/foo/foo.dart", 'main() => "foo";'); |
| 36 endPubServe(); | 34 endPubServe(); |
| 37 }); | 35 }); |
| 38 } | 36 } |
| OLD | NEW |