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

Side by Side Diff: test/build/preserves_htaccess_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) 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 '../descriptor.dart' as d; 5 import '../descriptor.dart' as d;
6 import '../test_pub.dart'; 6 import '../test_pub.dart';
7 7
8 main() { 8 main() {
9 integration("preserves .htaccess as a special case", () { 9 integration("preserves .htaccess as a special case", () {
10 d.dir(appPath, [ 10 d.dir(appPath, [
11 d.appPubspec(), 11 d.appPubspec(),
12 d.dir('web', [ 12 d.dir('web', [
13 d.file('.htaccess', 'fblthp'), 13 d.file('.htaccess', 'fblthp'),
14 d.file('.hidden', 'asdfgh') 14 d.file('.hidden', 'asdfgh')
15 ]) 15 ])
16 ]).create(); 16 ]).create();
17 17
18 pubGet();
18 schedulePub(args: ["build"], 19 schedulePub(args: ["build"],
19 output: new RegExp(r'Built \d+ files? to "build".')); 20 output: new RegExp(r'Built \d+ files? to "build".'));
20 21
21 d.dir(appPath, [ 22 d.dir(appPath, [
22 d.dir('build', [ 23 d.dir('build', [
23 d.dir('web', [ 24 d.dir('web', [
24 d.file('.htaccess', 'fblthp'), 25 d.file('.htaccess', 'fblthp'),
25 d.nothing('.hidden') 26 d.nothing('.hidden')
26 ]) 27 ])
27 ]) 28 ])
28 ]).validate(); 29 ]).validate();
29 }); 30 });
30 } 31 }
OLDNEW
« no previous file with comments | « test/build/outputs_results_to_json_test.dart ('k') | test/dart2js/allows_import_in_dart_code_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698