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 'package:path/path.dart' as path; | 5 import 'package:path/path.dart' as path; |
6 | 6 |
7 import 'descriptor.dart' as d; | 7 import 'descriptor.dart' as d; |
8 import 'test_pub.dart'; | 8 import 'test_pub.dart'; |
9 | 9 |
10 main() { | 10 main() { |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 "baz": {"path": "../baz"} | 105 "baz": {"path": "../baz"} |
106 } | 106 } |
107 }) | 107 }) |
108 ]).create(); | 108 ]).create(); |
109 | 109 |
110 var bazPath = path.join("..", "baz"); | 110 var bazPath = path.join("..", "baz"); |
111 | 111 |
112 schedulePub(args: [command.name], output: command.success, error: | 112 schedulePub(args: [command.name], output: command.success, error: |
113 """ | 113 """ |
114 Warning: You are using these overridden dependencies: | 114 Warning: You are using these overridden dependencies: |
115 - bar | 115 ! bar 1.0.0 |
116 - baz (from path $bazPath) | 116 ! baz 0.0.1 from path $bazPath |
117 - foo | 117 ! foo 1.0.0 |
118 """); | 118 """); |
119 }); | 119 }); |
120 }); | 120 }); |
121 } | 121 } |
OLD | NEW |