Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(338)

Side by Side Diff: sdk/lib/_internal/pub/test/pub_install_and_update_test.dart

Issue 22941002: Remove unused imports in pub. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase. Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | 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 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
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 }
OLDNEW
« no previous file with comments | « sdk/lib/_internal/pub/test/pub_cache_test.dart ('k') | sdk/lib/_internal/pub/test/pub_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698