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

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

Issue 2007133007: Fix checked mode error in socket_bind_test. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/socket_bind_test.dart
diff --git a/tests/standalone/io/socket_bind_test.dart b/tests/standalone/io/socket_bind_test.dart
index c764f6ec40ce42b41d7d2017a7f7feaf061f1ac8..084280db87edbc50c9e92f0b81b94ef14e7bf870 100644
--- a/tests/standalone/io/socket_bind_test.dart
+++ b/tests/standalone/io/socket_bind_test.dart
@@ -113,13 +113,14 @@ testListenCloseListenClose(String host) async {
}
Future<int> freeIPv4AndIPv6Port() async {
- var socket = await ServerSocket.bind(InternetAddress.ANY_IP_V6, 0, v6Only: false);
+ var socket =
+ await ServerSocket.bind(InternetAddress.ANY_IP_V6, 0, v6Only: false);
int port = socket.port;
await socket.close();
return port;
}
-void main() async {
+main() async {
asyncStart();
await testBindDifferentAddresses(InternetAddress.ANY_IP_V6,
InternetAddress.ANY_IP_V4,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698