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

Side by Side Diff: test/get/hosted/gets_a_package_with_busted_dev_dependencies_test.dart

Issue 1556243002: Fix analyzer hints and warnings in test/. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « test/descriptor.dart ('k') | test/global/activate/activate_hosted_after_git_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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:pub/src/exit_codes.dart' as exit_codes;
8
9 import '../../descriptor.dart' as d; 7 import '../../descriptor.dart' as d;
10 import '../../test_pub.dart'; 8 import '../../test_pub.dart';
11 9
12 main() { 10 main() {
13 // Regression test for issue 22194. 11 // Regression test for issue 22194.
14 integration('gets a dependency with broken dev dependencies from a pub ' 12 integration('gets a dependency with broken dev dependencies from a pub '
15 'server', () { 13 'server', () {
16 servePackages((builder) { 14 servePackages((builder) {
17 builder.serve("foo", "1.2.3", pubspec: { 15 builder.serve("foo", "1.2.3", pubspec: {
18 "dev_dependencies": { 16 "dev_dependencies": {
19 "busted": {"not a real source": null} 17 "busted": {"not a real source": null}
20 } 18 }
21 }); 19 });
22 }); 20 });
23 21
24 d.appDir({"foo": "1.2.3"}).create(); 22 d.appDir({"foo": "1.2.3"}).create();
25 23
26 pubGet(); 24 pubGet();
27 25
28 d.cacheDir({"foo": "1.2.3"}).validate(); 26 d.cacheDir({"foo": "1.2.3"}).validate();
29 d.packagesDir({"foo": "1.2.3"}).validate(); 27 d.packagesDir({"foo": "1.2.3"}).validate();
30 }); 28 });
31 } 29 }
OLDNEW
« no previous file with comments | « test/descriptor.dart ('k') | test/global/activate/activate_hosted_after_git_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698