Chromium Code Reviews

Side by Side Diff: utils/tests/pub/sdk_constraint_test.dart

Issue 12782016: Switch pkg packages, pub, and dartdoc to use package: imports. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review change Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
OLDNEW
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 check_sdk_test; 5 library check_sdk_test;
6 6
7 import '../../../pkg/scheduled_test/lib/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";
11 11
12 main() { 12 main() {
13 initConfig(); 13 initConfig();
14 14
15 for (var command in ["install", "update"]) { 15 for (var command in ["install", "update"]) {
16 var success = new RegExp(r"Dependencies installed!$"); 16 var success = new RegExp(r"Dependencies installed!$");
17 if (command == "update") { 17 if (command == "update") {
(...skipping 119 matching lines...)
137 Some packages that were installed are not compatible with your SDK v ersion 0.1.2+3 and may not work: 137 Some packages that were installed are not compatible with your SDK v ersion 0.1.2+3 and may not work:
138 - 'myapp' requires >2.0.0 138 - 'myapp' requires >2.0.0
139 - 'foo' requires >3.0.0 139 - 'foo' requires >3.0.0
140 140
141 You may be able to resolve this by upgrading to the latest Dart SDK 141 You may be able to resolve this by upgrading to the latest Dart SDK
142 or adding a version constraint to use an older version of a package. 142 or adding a version constraint to use an older version of a package.
143 """); 143 """);
144 }); 144 });
145 } 145 }
146 } 146 }
OLDNEW

Powered by Google App Engine