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

Side by Side Diff: test/run/includes_parent_directories_of_entrypoint_test.dart

Issue 1282533003: Don't implicitly run "pub get". (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Code review changes Created 5 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
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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; 5 import 'package:path/path.dart' as path;
6 6
7 import '../descriptor.dart' as d; 7 import '../descriptor.dart' as d;
8 import '../test_pub.dart'; 8 import '../test_pub.dart';
9 9
10 const SCRIPT = r""" 10 const SCRIPT = r"""
(...skipping 13 matching lines...) Expand all
24 d.file("a.dart", "var a = 'a';"), 24 d.file("a.dart", "var a = 'a';"),
25 d.dir("a", [ 25 d.dir("a", [
26 d.file("b.dart", "var b = 'b';"), 26 d.file("b.dart", "var b = 'b';"),
27 d.dir("b", [ 27 d.dir("b", [
28 d.file("app.dart", SCRIPT) 28 d.file("app.dart", SCRIPT)
29 ]) 29 ])
30 ]) 30 ])
31 ]) 31 ])
32 ]).create(); 32 ]).create();
33 33
34 var pub = pubRun(args: [path.join("tool", "a", "b", "app")], 34 pubGet();
35 shouldGetFirst: true); 35 var pub = pubRun(args: [path.join("tool", "a", "b", "app")]);
36 pub.stdout.expect("a b"); 36 pub.stdout.expect("a b");
37 pub.shouldExit(); 37 pub.shouldExit();
38 }); 38 });
39 } 39 }
OLDNEW
« no previous file with comments | « test/run/ignores_explicit_dart2js_transformer_test.dart ('k') | test/run/loads_package_imports_in_a_dependency_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698