Index: tests/standalone/io/secure_server_socket_test.dart |
diff --git a/tests/standalone/io/secure_server_socket_test.dart b/tests/standalone/io/secure_server_socket_test.dart |
index dbe0355b4e2d31cf58b50c7a32f828ece65ffd9b..11e0fe8c95e91430704c96d13d0f051c5052a7ee 100644 |
--- a/tests/standalone/io/secure_server_socket_test.dart |
+++ b/tests/standalone/io/secure_server_socket_test.dart |
@@ -16,15 +16,6 @@ const SERVER_ADDRESS = "127.0.0.1"; |
const HOST_NAME = "localhost"; |
const CERTIFICATE = "localhost_cert"; |
-void testArguments() { |
- Expect.throws(() => |
- SecureServerSocket.bind(SERVER_ADDRESS, 65536, 5, CERTIFICATE)); |
- Expect.throws(() => |
- SecureServerSocket.bind(SERVER_ADDRESS, -1, CERTIFICATE)); |
- Expect.throws(() => |
- SecureServerSocket.bind(SERVER_ADDRESS, 0, -1, CERTIFICATE)); |
-} |
- |
void testSimpleBind() { |
ReceivePort port = new ReceivePort(); |
SecureServerSocket.bind(SERVER_ADDRESS, 0, 5, CERTIFICATE).then((s) { |
@@ -205,7 +196,6 @@ main() { |
SecureSocket.initialize(database: certificateDatabase.toNativePath(), |
password: 'dartdart', |
useBuiltinRoots: false); |
- testArguments(); |
testSimpleBind(); |
testInvalidBind(); |
testSimpleConnect(CERTIFICATE); |