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

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

Issue 23896002: Fix errors in dart:io tests found by the analyzer (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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/raw_socket_typed_data_test.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/socket_test.dart
diff --git a/tests/standalone/io/socket_test.dart b/tests/standalone/io/socket_test.dart
index e756c2135e720842fcdaa2f2945b7a57ab92a421..beec587ce5f3b3d608dd2181885e68b0a9a8ec6b 100644
--- a/tests/standalone/io/socket_test.dart
+++ b/tests/standalone/io/socket_test.dart
@@ -53,7 +53,6 @@ void testInvalidBind() {
ServerSocket.bind("127.0.0.1", s.port)
.then((t) {
Expect.fail("Multiple listens on same port");
- port.toSendPort().send(1);
})
.catchError((error) {
Expect.isTrue(error is SocketException);
« no previous file with comments | « tests/standalone/io/raw_socket_typed_data_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698