Index: tests/standalone/io/socket_invalid_arguments_test.dart |
diff --git a/tests/standalone/io/socket_invalid_arguments_test.dart b/tests/standalone/io/socket_invalid_arguments_test.dart |
index 4a3d0a6c4c10f69c7f9441d9c359ac039c4385c5..68a0219e4e47dbd8f7e95c50e87376b9d2fc796b 100644 |
--- a/tests/standalone/io/socket_invalid_arguments_test.dart |
+++ b/tests/standalone/io/socket_invalid_arguments_test.dart |
@@ -25,7 +25,7 @@ testReadList(buffer, offset, length) { |
var server = new ServerSocket("127.0.0.1", 0, 5); |
var s = new Socket("127.0.0.1", server.port); |
s.onConnect = () { |
- try { s.readList(buffer, offset, length); } catch (var e) {} |
+ try { s.readList(buffer, offset, length); } catch (e) {} |
s.close(); |
}; |
s.onError = (e) => null; |
@@ -35,7 +35,7 @@ testWriteList(buffer, offset, length) { |
var server = new ServerSocket("127.0.0.1", 0, 5); |
var s = new Socket("127.0.0.1", server.port); |
s.onConnect = () { |
- try { s.writeList(buffer, offset, length); } catch (var e) {} |
+ try { s.writeList(buffer, offset, length); } catch (e) {} |
s.close(); |
}; |
s.onError = (e) => null; |
@@ -47,7 +47,7 @@ testServerSocketCreation(address, port, backlog) { |
server = new ServerSocket(address, port, backlog); |
server.onError = (e) => null; |
server.onConnection = (c) => Expect.fail("Shouldn't get connection"); |
- } catch (var e) { |
+ } catch (e) { |
// ignore |
} |
} |