diff --git a/test/dhttpd_test.dart b/test/dhttpd_test.dart index 948857a..096bbe0 100644 --- a/test/dhttpd_test.dart +++ b/test/dhttpd_test.dart @@ -76,8 +76,7 @@ void main() { expect(server.urlBase, startsWith('https://')); // Create a client that ignores SSL errors for self-signed certificates - final ioClient = HttpClient() - ..badCertificateCallback = ((cert, host, port) => true); + final ioClient = HttpClient()..badCertificateCallback = ((_, _, _) => true); final client = http_io.IOClient(ioClient); try {