Index: sdk/lib/_internal/pub_generated/test/serve/supports_user_defined_lazy_transformers_test.dart |
diff --git a/sdk/lib/_internal/pub/test/serve/supports_user_defined_lazy_transformers_test.dart b/sdk/lib/_internal/pub_generated/test/serve/supports_user_defined_lazy_transformers_test.dart |
similarity index 70% |
copy from sdk/lib/_internal/pub/test/serve/supports_user_defined_lazy_transformers_test.dart |
copy to sdk/lib/_internal/pub_generated/test/serve/supports_user_defined_lazy_transformers_test.dart |
index 69859f47769da47b6e4d027c435b072c829d81f3..3c19427ea4037c69588e5a944d1f6f3fad45e7df 100644 |
--- a/sdk/lib/_internal/pub/test/serve/supports_user_defined_lazy_transformers_test.dart |
+++ b/sdk/lib/_internal/pub_generated/test/serve/supports_user_defined_lazy_transformers_test.dart |
@@ -12,18 +12,12 @@ main() { |
initConfig(); |
withBarbackVersions("any", () { |
integration("supports a user-defined lazy transformer", () { |
- 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", LAZY_TRANSFORMER) |
- ])]), |
- d.dir("web", [ |
- d.file("foo.txt", "foo") |
- ]) |
- ]).create(); |
+ d.dir("lib", [d.dir("src", [d.file("transformer.dart", LAZY_TRANSFORMER)])]), |
+ d.dir("web", [d.file("foo.txt", "foo")])]).create(); |
createLockFile('myapp', pkg: ['barback']); |
@@ -32,9 +26,8 @@ main() { |
server.stdout.expect('Build completed successfully'); |
requestShouldSucceed("foo.out", "foo.out"); |
- server.stdout.expect(emitsLines( |
- '[Info from LazyRewrite]:\n' |
- 'Rewriting myapp|web/foo.txt.')); |
+ server.stdout.expect( |
+ emitsLines('[Info from LazyRewrite]:\n' 'Rewriting myapp|web/foo.txt.')); |
endPubServe(); |
}); |
}); |