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

Side by Side Diff: sdk/lib/_internal/pub/test/unknown_source_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 d.file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS d.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 d.file. 3 // BSD-style license that can be found in the LICENSE d.file.
4 4
5 library pub_tests; 5 library pub_tests;
6 6
7 import 'dart:io';
8 import 'dart:json' as json; 7 import 'dart:json' as json;
9 8
10 import 'descriptor.dart' as d; 9 import 'descriptor.dart' as d;
11 import 'test_pub.dart'; 10 import 'test_pub.dart';
12 11
13 main() { 12 main() {
14 initConfig(); 13 initConfig();
15 14
16 forBothPubInstallAndUpdate((command) { 15 forBothPubInstallAndUpdate((command) {
17 integration('fails gracefully on a dependency from an unknown source', () { 16 integration('fails gracefully on a dependency from an unknown source', () {
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 65
67 // Should update to the new one. 66 // Should update to the new one.
68 d.dir(packagesPath, [ 67 d.dir(packagesPath, [
69 d.dir("foo", [ 68 d.dir("foo", [
70 d.file("foo.dart", 'main() => "foo";') 69 d.file("foo.dart", 'main() => "foo";')
71 ]) 70 ])
72 ]).validate(); 71 ]).validate();
73 }); 72 });
74 }); 73 });
75 } 74 }
OLDNEW
« no previous file with comments | « sdk/lib/_internal/pub/test/test_pub.dart ('k') | sdk/lib/_internal/pub/test/update/git/do_not_update_if_unneeded_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698