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

Unified Diff: sdk/lib/_internal/pub_generated/test/transformer/prints_a_transform_error_in_apply_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_error_in_apply_test.dart
diff --git a/sdk/lib/_internal/pub/test/transformer/prints_a_transform_error_in_apply_test.dart b/sdk/lib/_internal/pub_generated/test/transformer/prints_a_transform_error_in_apply_test.dart
similarity index 71%
copy from sdk/lib/_internal/pub/test/transformer/prints_a_transform_error_in_apply_test.dart
copy to sdk/lib/_internal/pub_generated/test/transformer/prints_a_transform_error_in_apply_test.dart
index 2ec83207e4189e55d87e190ffec601180c4bf994..af118726a75330377f5cae5e39622fc322e353bd 100644
--- a/sdk/lib/_internal/pub/test/transformer/prints_a_transform_error_in_apply_test.dart
+++ b/sdk/lib/_internal/pub_generated/test/transformer/prints_a_transform_error_in_apply_test.dart
@@ -26,25 +26,19 @@ main() {
initConfig();
withBarbackVersions("any", () {
integration("prints a transform error in apply", () {
- 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: oh no!'));
+ server.stderr.expect(
+ emitsLines(
+ 'Build error:\n' 'Transform Rewrite on myapp|web/foo.txt threw error: oh no!'));
endPubServe();
});
});

Powered by Google App Engine
This is Rietveld 408576698