Index: sdk/lib/_internal/pub_generated/test/transformer/can_log_messages_test.dart |
diff --git a/sdk/lib/_internal/pub/test/transformer/can_log_messages_test.dart b/sdk/lib/_internal/pub_generated/test/transformer/can_log_messages_test.dart |
similarity index 87% |
copy from sdk/lib/_internal/pub/test/transformer/can_log_messages_test.dart |
copy to sdk/lib/_internal/pub_generated/test/transformer/can_log_messages_test.dart |
index da82d5dd4dcc9ea6cd02c49740a091aacf6d6032..ca37e51e423ddc753b139663bb7fc204bd8af77c 100644 |
--- a/sdk/lib/_internal/pub/test/transformer/can_log_messages_test.dart |
+++ b/sdk/lib/_internal/pub_generated/test/transformer/can_log_messages_test.dart |
@@ -74,18 +74,12 @@ main() { |
void runTest(String transformerText) { |
integration("can log messages", () { |
- 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", transformerText) |
- ])]), |
- d.dir("web", [ |
- d.file("foo.txt", "foo") |
- ]) |
- ]).create(); |
+ d.dir("lib", [d.dir("src", [d.file("transformer.dart", transformerText)])]), |
+ d.dir("web", [d.file("foo.txt", "foo")])]).create(); |
createLockFile('myapp', pkg: ['barback']); |
@@ -106,11 +100,10 @@ Warning! |
// The details of the analyzer's error message change pretty frequently, |
// so instead of validating the entire line, just look for a couple of |
// salient bits of information. |
- pub.stderr.expect(allOf([ |
- contains("2"), // The line number. |
- contains("1"), // The column number. |
- contains("http://fake.com/not_real.dart"), // The library. |
- contains("ERROR"), // That it's an error. |
+ pub.stderr.expect(allOf([contains("2"), // The line number. |
+ contains("1"), // The column number. |
+ contains("http://fake.com/not_real.dart"), // The library. |
+ contains("ERROR"), // That it's an error. |
])); |
// In barback >=0.15.0, the span will point to the location where the error |