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

Side by Side Diff: sdk/lib/_internal/pub_generated/test/serve/does_not_crash_if_an_unused_dart_file_has_a_syntax_error_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 library pub_tests;
2 import '../descriptor.dart' as d;
3 import '../test_pub.dart';
4 import 'utils.dart';
5 main() {
6 initConfig();
7 withBarbackVersions("any", () {
8 integration("doesn't crash if an unused .dart file has a syntax error", () {
9 d.dir(appPath, [d.pubspec({
10 "name": "myapp",
11 "transformers": ["myapp/src/transformer"]
12 }),
13 d.dir(
14 "lib",
15 [
16 d.dir(
17 "src",
18 [
19 d.file("transformer.dart", REWRITE_TRANSFORMER),
20 d.file("unused.dart", "(*&^#@")])]),
21 d.dir("web", [d.file("foo.txt", "foo")])]).create();
22 createLockFile('myapp', pkg: ['barback']);
23 var server = pubServe();
24 requestShouldSucceed("foo.out", "foo.out");
25 endPubServe();
26 });
27 });
28 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698