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

Unified Diff: sdk/lib/_internal/pub_generated/test/transformer/a_transformer_rejects_its_config_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 side-by-side diff with in-line comments
Download patch
Index: sdk/lib/_internal/pub_generated/test/transformer/a_transformer_rejects_its_config_test.dart
diff --git a/sdk/lib/_internal/pub/test/transformer/a_transformer_rejects_its_config_test.dart b/sdk/lib/_internal/pub_generated/test/transformer/a_transformer_rejects_its_config_test.dart
similarity index 53%
copy from sdk/lib/_internal/pub/test/transformer/a_transformer_rejects_its_config_test.dart
copy to sdk/lib/_internal/pub_generated/test/transformer/a_transformer_rejects_its_config_test.dart
index caa0c95be8af829030039542c4c5b043d000405a..0ee0f1f501625426add38577c698c10ed561884f 100644
--- a/sdk/lib/_internal/pub/test/transformer/a_transformer_rejects_its_config_test.dart
+++ b/sdk/lib/_internal/pub_generated/test/transformer/a_transformer_rejects_its_config_test.dart
@@ -29,23 +29,28 @@ main() {
initConfig();
withBarbackVersions("any", () {
- integration("a transformer can reject is configuration", () {
- d.dir(appPath, [
- d.pubspec({
- "name": "myapp",
- "transformers": [{"myapp/src/transformer": {'foo': 'bar'}}]
- }),
- d.dir("lib", [d.dir("src", [
- d.file("transformer.dart", REJECT_CONFIG_TRANSFORMER)
- ])])
- ]).create();
-
- createLockFile('myapp', pkg: ['barback']);
-
- var pub = startPubServe();
- pub.stderr.expect(endsWith('Error loading transformer: I hate these '
- 'settings!'));
- pub.shouldExit(1);
- });
+ integration("a transformer can reject is configuration", () {
+ d.dir(appPath, [d.pubspec({
+ "name": "myapp",
+ "transformers": [{
+ "myapp/src/transformer": {
+ 'foo': 'bar'
+ }
+ }]
+ }),
+ d.dir(
+ "lib",
+ [
+ d.dir(
+ "src",
+ [d.file("transformer.dart", REJECT_CONFIG_TRANSFORMER)])])]).create();
+
+ createLockFile('myapp', pkg: ['barback']);
+
+ var pub = startPubServe();
+ pub.stderr.expect(
+ endsWith('Error loading transformer: I hate these ' 'settings!'));
+ pub.shouldExit(1);
+ });
});
-}
+}

Powered by Google App Engine
This is Rietveld 408576698