Index: sdk/lib/_internal/pub/test/lish/upload_form_provides_an_error_test.dart |
diff --git a/sdk/lib/_internal/pub/test/lish/upload_form_provides_an_error_test.dart b/sdk/lib/_internal/pub/test/lish/upload_form_provides_an_error_test.dart |
index 2a415e4ed389dcfa897ffdedbde13eb1c18e08fd..c4f69a04a1ccb5d0f1a2c3557f375fdaef0ad18a 100644 |
--- a/sdk/lib/_internal/pub/test/lish/upload_form_provides_an_error_test.dart |
+++ b/sdk/lib/_internal/pub/test/lish/upload_form_provides_an_error_test.dart |
@@ -29,7 +29,7 @@ main() { |
request.response.close(); |
}); |
- expect(pub.nextErrLine(), completion(equals('your request sucked'))); |
+ pub.stderr.expect('your request sucked'); |
pub.shouldExit(1); |
}); |
} |