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

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

Issue 11230011: Make hasNext a getter instead of a method. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove unused variable. Created 8 years, 2 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 | « tests/corelib/string_pattern_test.dart ('k') | tests/standalone/io/test_runner_exit_code_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 fcfd9a81c1b8a31fc9a4a99b15f3e15678b32d3d..6a717ec2dd1680c7b3f48a1844b7e04c5d75dd75 100644
--- a/tests/standalone/io/http_server_early_client_close_test.dart
+++ b/tests/standalone/io/http_server_early_client_close_test.dart
@@ -80,7 +80,7 @@ void testEarlyClose() {
HttpServer server = new HttpServer();
server.listen("127.0.0.1", 0);
void runTest(Iterator it) {
- if (it.hasNext()) {
+ if (it.hasNext) {
it.next().execute(server).then((_) => runTest(it));
} else {
server.close();
« no previous file with comments | « tests/corelib/string_pattern_test.dart ('k') | tests/standalone/io/test_runner_exit_code_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698