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

Unified Diff: sdk/lib/_internal/pub_generated/test/transformer/can_log_messages_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/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

Powered by Google App Engine
This is Rietveld 408576698