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

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

Issue 17406010: Move getters from Options to Platform (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixed Dart_GetType Created 7 years, 6 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: tests/standalone/io/http_server_early_client_close_test.dart
diff --git a/tests/standalone/io/http_server_early_client_close_test.dart b/tests/standalone/io/http_server_early_client_close_test.dart
index 5062a709f85d3a415124e834653d5787cc2c4970..4b481dba1f80c60b17fe1abf05661d0930c9926f 100644
--- a/tests/standalone/io/http_server_early_client_close_test.dart
+++ b/tests/standalone/io/http_server_early_client_close_test.dart
@@ -118,7 +118,7 @@ testEarlyClose2() {
HttpServer.bind("127.0.0.1", 0).then((server) {
server.listen(
(request) {
- String name = new Options().script;
+ String name = Platform.script;
new File(name).openRead().pipe(request.response)
.catchError((e) { /* ignore */ });
});
« no previous file with comments | « tests/standalone/io/http_server_early_client_close2_test.dart ('k') | tests/standalone/io/http_server_response_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698