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

Unified Diff: tests/standalone/io/http_stream_close_test.dart

Issue 11852017: Fix dart2js compilation error in previous commit (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/http_stream_close_test.dart
diff --git a/tests/standalone/io/http_stream_close_test.dart b/tests/standalone/io/http_stream_close_test.dart
index 1f6d65b21161cc2bac53bf44cb179109c4834d4f..4ccb6685bd4f8113cbe82d672f6b0efeab2d88f6 100644
--- a/tests/standalone/io/http_stream_close_test.dart
+++ b/tests/standalone/io/http_stream_close_test.dart
@@ -34,11 +34,12 @@ main() {
};
};
- var connection = client.postUrl(new Uri.fromString("http://127.0.0.1:${server.port}"));
- connection.onError = (e) => throw e;
+ var connection = client.postUrl(
+ new Uri.fromString("http://127.0.0.1:${server.port}"));
+ connection.onError = (e) { throw e; };
connection.onRequest = (request) {
request.contentLength = "hello!".length;
- request.outputStream.onError = (e) => throw e;
+ request.outputStream.onError = (e) { throw e; };
request.outputStream.onClosed = () {
clientOnClosed = true;
checkDone();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698