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

Unified Diff: sdk/lib/_internal/pub/test/transformer/fails_to_load_a_transform_with_an_import_error_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_with_an_import_error_test.dart
diff --git a/sdk/lib/_internal/pub/test/transformer/fails_to_load_a_transform_with_an_import_error_test.dart b/sdk/lib/_internal/pub/test/transformer/fails_to_load_a_transform_with_an_import_error_test.dart
index 78632a2b0c0945cbdddc0dd701e5422d40d95768..5e68175ed0dc14d098b9c8a8a07e3ef9cbd9d80a 100644
--- a/sdk/lib/_internal/pub/test/transformer/fails_to_load_a_transform_with_an_import_error_test.dart
+++ b/sdk/lib/_internal/pub/test/transformer/fails_to_load_a_transform_with_an_import_error_test.dart
@@ -28,8 +28,7 @@ main() {
createLockFile('myapp', pkg: ['barback']);
var pub = startPubServe();
- expect(pub.nextErrLine(), completion(matches(new RegExp(
- r"error: line 1 pos 1: library handler failed$"))));
+ pub.stderr.expect(endsWith("error: line 1 pos 1: library handler failed"));
pub.shouldExit(1);
});
}

Powered by Google App Engine
This is Rietveld 408576698