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

Side by Side Diff: test/run/runs_from_a_dependency_override_after_dependency_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
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 import '../descriptor.dart' as d; 5 import '../descriptor.dart' as d;
6 import '../test_pub.dart'; 6 import '../test_pub.dart';
7 import '../serve/utils.dart';
8 7
9 main() { 8 main() {
10 // Regression test for issue 23113 9 // Regression test for issue 23113
11 integration('runs a named Dart application in a dependency', () { 10 integration('runs a named Dart application in a dependency', () {
12 servePackages((builder) { 11 servePackages((builder) {
13 builder.serve('foo', '1.0.0', pubspec: { 12 builder.serve('foo', '1.0.0', pubspec: {
14 'name': 'foo', 13 'name': 'foo',
15 'version': '1.0.0' 14 'version': '1.0.0'
16 }, contents: [ 15 }, contents: [
17 d.dir("bin", [ 16 d.dir("bin", [
(...skipping 26 matching lines...) Expand all
44 }) 43 })
45 ]).create(); 44 ]).create();
46 45
47 pubGet(); 46 pubGet();
48 47
49 pub = pubRun(args: ["foo:bar"]); 48 pub = pubRun(args: ["foo:bar"]);
50 pub.stdout.expect("different"); 49 pub.stdout.expect("different");
51 pub.shouldExit(); 50 pub.shouldExit();
52 }); 51 });
53 } 52 }
OLDNEW
« no previous file with comments | « test/run/resource_test.dart ('k') | test/serve/does_not_crash_if_an_unused_dart_file_has_a_syntax_error_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698