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

Unified Diff: sdk/lib/_internal/pub/test/transformer/fails_to_load_a_transform_from_a_non_dependency_test.dart

Issue 164773003: Change ScheduledProcess's output streams over to be ScheduledStreams. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: code review Created 6 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/test/transformer/fails_to_load_a_transform_from_a_non_dependency_test.dart
diff --git a/sdk/lib/_internal/pub/test/transformer/fails_to_load_a_transform_from_a_non_dependency_test.dart b/sdk/lib/_internal/pub/test/transformer/fails_to_load_a_transform_from_a_non_dependency_test.dart
index 2d83d22936396c8155d1f69da001437be0c958ee..276d325d9cfd6a50413d7fa59b4c5839e2379d48 100644
--- a/sdk/lib/_internal/pub/test/transformer/fails_to_load_a_transform_from_a_non_dependency_test.dart
+++ b/sdk/lib/_internal/pub/test/transformer/fails_to_load_a_transform_from_a_non_dependency_test.dart
@@ -22,9 +22,9 @@ main() {
var pub = startPubServe();
// Ignore the line containing the path to the pubspec.
- expect(pub.nextErrLine(), completes);
- expect(pub.nextErrLine(), completion(equals('"transformers.foo" refers to '
- 'a package that\'s not a dependency.')));
+ pub.stderr.expect(anything);
+ pub.stderr.expect('"transformers.foo" refers to a package that\'s not a '
+ 'dependency.');
pub.shouldExit(1);
});
}

Powered by Google App Engine
This is Rietveld 408576698