Index: sdk/lib/_internal/pub/test/lish/cloud_storage_upload_provides_an_error_test.dart |
diff --git a/sdk/lib/_internal/pub/test/lish/cloud_storage_upload_provides_an_error_test.dart b/sdk/lib/_internal/pub/test/lish/cloud_storage_upload_provides_an_error_test.dart |
index d574d745c763a5b4c66aa8b0e74b74913a28fea0..496abcfb84e80fa0e1573bf746ad0bd27117f1e9 100644 |
--- a/sdk/lib/_internal/pub/test/lish/cloud_storage_upload_provides_an_error_test.dart |
+++ b/sdk/lib/_internal/pub/test/lish/cloud_storage_upload_provides_an_error_test.dart |
@@ -37,8 +37,7 @@ main() { |
// TODO(nweiz): This should use the server's error message once the client |
// can parse the XML. |
- expect(pub.nextErrLine(), |
- completion(equals('Failed to upload the package.'))); |
+ pub.stderr.expect('Failed to upload the package.'); |
pub.shouldExit(1); |
}); |
} |