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

Side by Side Diff: sdk/lib/_internal/pub_generated/test/transformer/fails_to_load_an_unconfigurable_transformer_when_config_is_passed_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 'package:scheduled_test/scheduled_test.dart';
3 import '../descriptor.dart' as d;
4 import '../test_pub.dart';
5 import '../serve/utils.dart';
6 main() {
7 initConfig();
8 withBarbackVersions("any", () {
9 integration(
10 "fails to load an unconfigurable transformer when config is " "passed",
11 () {
12 d.dir(appPath, [d.pubspec({
13 "name": "myapp",
14 "transformers": [{
15 "myapp/src/transformer": {
16 'foo': 'bar'
17 }
18 }]
19 }),
20 d.dir(
21 "lib",
22 [d.dir("src", [d.file("transformer.dart", REWRITE_TRANSFORMER)]) ])]).create();
23 createLockFile('myapp', pkg: ['barback']);
24 var pub = startPubServe();
25 pub.stderr.expect(
26 startsWith('No transformers that accept configuration ' 'were defined in '));
27 pub.shouldExit(1);
28 });
29 });
30 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698