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

Unified Diff: sdk/lib/_internal/pub_generated/test/transformer/prints_a_transform_interface_error_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/prints_a_transform_interface_error_test.dart
diff --git a/sdk/lib/_internal/pub/test/transformer/prints_a_transform_interface_error_test.dart b/sdk/lib/_internal/pub_generated/test/transformer/prints_a_transform_interface_error_test.dart
similarity index 66%
copy from sdk/lib/_internal/pub/test/transformer/prints_a_transform_interface_error_test.dart
copy to sdk/lib/_internal/pub_generated/test/transformer/prints_a_transform_interface_error_test.dart
index 40bd9eec906aa2c5005723b49592b5190e48297f..4a661f6f51fb0914b24bd32aae712fac3d03079b 100644
--- a/sdk/lib/_internal/pub/test/transformer/prints_a_transform_interface_error_test.dart
+++ b/sdk/lib/_internal/pub_generated/test/transformer/prints_a_transform_interface_error_test.dart
@@ -24,26 +24,20 @@ main() {
initConfig();
withBarbackVersions("any", () {
integration("prints a transform interface error", () {
- d.dir(appPath, [
- d.pubspec({
+ d.dir(appPath, [d.pubspec({
"name": "myapp",
"transformers": ["myapp/src/transformer"]
}),
- d.dir("lib", [d.dir("src", [
- d.file("transformer.dart", transformer)
- ])]),
- d.dir("web", [
- d.file("foo.txt", "foo")
- ])
- ]).create();
+ d.dir("lib", [d.dir("src", [d.file("transformer.dart", transformer)])]),
+ d.dir("web", [d.file("foo.txt", "foo")])]).create();
createLockFile('myapp', pkg: ['barback']);
var server = pubServe();
- server.stderr.expect(emitsLines(
- "Build error:\n"
- "Transform Rewrite on myapp|web/foo.txt threw error: Class "
- "'RewriteTransformer' has no instance method 'apply'."));
+ server.stderr.expect(
+ emitsLines(
+ "Build error:\n" "Transform Rewrite on myapp|web/foo.txt threw error: Class "
+ "'RewriteTransformer' has no instance method 'apply'."));
endPubServe();
});
});

Powered by Google App Engine
This is Rietveld 408576698