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

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

Issue 557563002: Store the async-await compiled pub code directly in the repo. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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
(Empty)
1 import 'package:scheduled_test/scheduled_test.dart';
2 import '../descriptor.dart' as d;
3 import '../test_pub.dart';
4 main() {
5 initConfig();
6 integration("includes source map URLs in a debug build", () {
7 d.dir(
8 appPath,
9 [
10 d.appPubspec(),
11 d.dir(
12 "web",
13 [d.file("main.dart", "void main() => print('hello');")])]).creat e();
14 schedulePub(
15 args: ["build", "--mode", "debug"],
16 output: new RegExp(r'Built \d+ files to "build".'),
17 exitCode: 0);
18 d.dir(
19 appPath,
20 [
21 d.dir(
22 'build',
23 [
24 d.dir(
25 'web',
26 [
27 d.matcherFile('main.dart.js', contains("# sourceMapp ingURL=main.dart.js.map")),
28 d.matcherFile(
29 'main.dart.js.map',
30 contains('"file": "main.dart.js"'))])])]).valida te();
31 });
32 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698