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

Side by Side Diff: sdk/lib/_internal/pub_generated/test/dart2js/does_not_support_invalid_command_line_options_type_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 '../descriptor.dart' as d;
2 import '../test_pub.dart';
3 import '../serve/utils.dart';
4 main() {
5 initConfig();
6 integration("doesn't support invalid commandLineOptions type", () {
7 d.dir(appPath, [d.pubspec({
8 "name": "myapp",
9 "transformers": [{
10 "\$dart2js": {
11 "commandLineOptions": "foo"
12 }
13 }]
14 }), d.dir("web", [d.file("main.dart", "void main() {}")])]).create();
15 var server = pubServe();
16 requestShould404("main.dart.js");
17 server.stderr.expect(
18 emitsLines(
19 'Build error:\n' 'Transform Dart2JS on myapp|web/main.dart threw err or: '
20 'Invalid value for \$dart2js.commandLineOptions: '
21 '"foo" (expected list of strings).'));
22 endPubServe();
23 });
24 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698