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 library pub_tests; | 5 library pub_tests; |
6 | 6 |
7 import 'package:scheduled_test/scheduled_test.dart'; | 7 import 'package:scheduled_test/scheduled_test.dart'; |
8 | 8 |
9 import '../descriptor.dart' as d; | 9 import '../descriptor.dart' as d; |
10 import '../test_pub.dart'; | 10 import '../test_pub.dart'; |
(...skipping 14 matching lines...) Expand all Loading... |
25 pubGet(); | 25 pubGet(); |
26 | 26 |
27 // Loosen the constraints. | 27 // Loosen the constraints. |
28 d.appDir({ | 28 d.appDir({ |
29 "downgraded": ">=2.0.0" | 29 "downgraded": ">=2.0.0" |
30 }).create(); | 30 }).create(); |
31 | 31 |
32 pubDowngrade(output: contains("downgraded 2.0.0 (was 3.0.0-dev)")); | 32 pubDowngrade(output: contains("downgraded 2.0.0 (was 3.0.0-dev)")); |
33 }); | 33 }); |
34 } | 34 } |
OLD | NEW |