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

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

Issue 11733005: Enable a couple of tests that were disabled because they (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 12 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/standalone/io/regress-6521.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/regress_6521_test.dart
diff --git a/tests/standalone/io/regress-6521.dart b/tests/standalone/io/regress_6521_test.dart
similarity index 96%
rename from tests/standalone/io/regress-6521.dart
rename to tests/standalone/io/regress_6521_test.dart
index a02025d2cb74ad103b4f4440d687cc7b66adf021..9d393b703d01c62e1c4a4e625d2100173e8af9d6 100644
--- a/tests/standalone/io/regress-6521.dart
+++ b/tests/standalone/io/regress_6521_test.dart
@@ -18,10 +18,6 @@ void main() {
req.inputStream.read();
rsp.outputStream.close();
};
- req.inputStream.onClosed = () {
- client.shutdown();
- server.close();
- };
};
var connection = client.openUrl(
@@ -36,6 +32,8 @@ void main() {
response.inputStream.onClosed = () {
// Wait with closing the client request until the response is done.
clientRequest.outputStream.close();
+ client.shutdown();
+ server.close();
};
};
}
« no previous file with comments | « tests/standalone/io/regress-6521.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698