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; | 5 library pub_tests; |
6 | 6 |
7 import 'dart:io'; | |
8 | |
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 main() { | 12 main() { |
15 initConfig(); | 13 initConfig(); |
16 | 14 |
17 forBothPubInstallAndUpdate((command) { | 15 forBothPubInstallAndUpdate((command) { |
18 group('requires', () { | 16 group('requires', () { |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 "foo": {"path": "../deps/foo"}, | 108 "foo": {"path": "../deps/foo"}, |
111 "bar": {"path": "../deps/bar"} | 109 "bar": {"path": "../deps/bar"} |
112 }) | 110 }) |
113 ]).create(); | 111 ]).create(); |
114 | 112 |
115 pubCommand(command, | 113 pubCommand(command, |
116 error: new RegExp("^Incompatible dependencies on 'baz':\n")); | 114 error: new RegExp("^Incompatible dependencies on 'baz':\n")); |
117 }); | 115 }); |
118 }); | 116 }); |
119 } | 117 } |
OLD | NEW |