From 446a19ba51471f123a3133edba8bcf80787b3403 Mon Sep 17 00:00:00 2001 From: Lenny Maiorani Date: Fri, 20 Nov 2020 13:18:43 -0700 Subject: [PATCH] test-crypto: Remove foo.response file created by testing (#4110) Problem: - Test creates a file and leaves it in the source tree. Solution: - Remove the creation of the file since it is never checked. --- Userland/test-crypto.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Userland/test-crypto.cpp b/Userland/test-crypto.cpp index d2d2adc2ba..454c61c0e0 100644 --- a/Userland/test-crypto.cpp +++ b/Userland/test-crypto.cpp @@ -2060,14 +2060,6 @@ static void tls_test_client_hello() }; tls->on_tls_finished = [&] { PASS; - auto file = Core::File::open("foo.response", Core::IODevice::WriteOnly); - if (file.is_error()) { - printf("Can't write there, %s\n", file.error().characters()); - loop.quit(2); - return; - } - file.value()->write(contents); - file.value()->close(); loop.quit(0); }; tls->on_tls_error = [&](TLS::AlertDescription) {