| Index: tests/standalone/io/socket_exception_test.dart
|
| diff --git a/tests/standalone/io/socket_exception_test.dart b/tests/standalone/io/socket_exception_test.dart
|
| index 364acccbb954a5ff2fcd591e7d52c1ff6edd88b7..3dbe93eb1cd5549e2b93dbcb13ccc207bc1e658a 100644
|
| --- a/tests/standalone/io/socket_exception_test.dart
|
| +++ b/tests/standalone/io/socket_exception_test.dart
|
| @@ -90,8 +90,6 @@ class SocketExceptionTest {
|
| }
|
| Expect.isFalse(exceptionCaught);
|
| Expect.isFalse(wrongExceptionCaught);
|
| -
|
| - // From here exceptions are expected.
|
| try {
|
| List<int> buffer = new List<int>(10);
|
| client.add(buffer);
|
| @@ -100,8 +98,10 @@ class SocketExceptionTest {
|
| } catch (ex) {
|
| wrongExceptionCaught = true;
|
| }
|
| - Expect.isTrue(exceptionCaught);
|
| + Expect.isFalse(exceptionCaught);
|
| Expect.isFalse(wrongExceptionCaught);
|
| +
|
| + // From here exceptions are expected.
|
| exceptionCaught = false;
|
| try {
|
| client.port;
|
|
|