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

Side by Side Diff: sdk/lib/_internal/pub_generated/test/dart2js/omits_source_map_in_release_test.dart

Issue 887223007: Revert "Use native async/await support in pub." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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) 2013, the Dart project authors. Please see the AUTHORS d.file 1 // Copyright (c) 2013, 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 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 initConfig(); 9 initConfig();
10 integration("omits source maps from a release build", () { 10 integration("omits source maps from a release build", () {
11 d.dir(appPath, [ 11 d.dir(
12 d.appPubspec(), 12 appPath,
13 d.dir("web", [ 13 [
14 d.file("main.dart", "void main() => print('hello');") 14 d.appPubspec(),
15 ]) 15 d.dir(
16 ]).create(); 16 "web",
17 [d.file("main.dart", "void main() => print('hello');")])]).creat e();
17 18
18 schedulePub(args: ["build"], 19 schedulePub(
20 args: ["build"],
19 output: new RegExp(r'Built 1 file to "build".'), 21 output: new RegExp(r'Built 1 file to "build".'),
20 exitCode: 0); 22 exitCode: 0);
21 23
22 d.dir(appPath, [ 24 d.dir(
23 d.dir('build', [ 25 appPath,
24 d.dir('web', [ 26 [d.dir('build', [d.dir('web', [d.nothing('main.dart.js.map')])])]).valid ate();
25 d.nothing('main.dart.js.map')
26 ])
27 ])
28 ]).validate();
29 }); 27 });
30 } 28 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698