Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 import 'descriptor.dart' as d; | 5 import 'descriptor.dart' as d; |
| 6 import 'test_pub.dart'; | 6 import 'test_pub.dart'; |
| 7 | 7 |
| 8 main() { | 8 main() { |
| 9 initConfig(); | 9 initConfig(); |
| 10 forBothPubGetAndUpgrade((command) { | 10 forBothPubGetAndUpgrade((command) { |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 96 "dependency_overrides": { | 96 "dependency_overrides": { |
| 97 "foo": "any", | 97 "foo": "any", |
| 98 "bar": "any", | 98 "bar": "any", |
| 99 "baz": "any" | 99 "baz": "any" |
| 100 } | 100 } |
| 101 }) | 101 }) |
| 102 ]).create(); | 102 ]).create(); |
| 103 | 103 |
| 104 schedulePub(args: [command.name], output: command.success, error: | 104 schedulePub(args: [command.name], output: command.success, error: |
| 105 """ | 105 """ |
| 106 Warning: You are overriding these dependencies: | 106 Warning: You are using these overridden dependencies: |
| 107 - bar any from hosted (bar) | 107 - bar |
| 108 - baz any from hosted (baz) | 108 - baz |
| 109 - foo any from hosted (foo) | 109 - foo |
| 110 """); | 110 """); |
|
nweiz
2013/11/26 21:14:46
We should also test this with a path dependency ov
| |
| 111 }); | 111 }); |
| 112 }); | 112 }); |
| 113 } | 113 } |
| OLD | NEW |