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