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

Side by Side Diff: sdk/lib/_internal/pub/test/dev_dependency_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) 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;
6
7 import 'descriptor.dart' as d; 5 import 'descriptor.dart' as d;
8 import 'test_pub.dart'; 6 import 'test_pub.dart';
9 7
10 main() { 8 main() {
11 initConfig(); 9 initConfig();
12 integration("includes root package's dev dependencies", () { 10 integration("includes root package's dev dependencies", () {
13 d.dir('foo', [ 11 d.dir('foo', [
14 d.libDir('foo'), 12 d.libDir('foo'),
15 d.libPubspec('foo', '0.0.1') 13 d.libPubspec('foo', '0.0.1')
16 ]).create(); 14 ]).create();
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 pubInstall(); 100 pubInstall();
103 101
104 d.dir(packagesPath, [ 102 d.dir(packagesPath, [
105 d.dir("foo", [ 103 d.dir("foo", [
106 d.file("foo.dart", 'main() => "foo";') 104 d.file("foo.dart", 'main() => "foo";')
107 ]), 105 ]),
108 d.nothing("bar") 106 d.nothing("bar")
109 ]).validate(); 107 ]).validate();
110 }); 108 });
111 } 109 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698