test/net/smtp/test_sslcontext.rb
# SERVER_CERT's subject has CN=localhost
SERVER_CERT's subject has CN=localhost
SERVER_CERT ' s subject has CN = localhost
def teardown
      @server_thread&.exit&.join
      @server_socket&.close
      @client_socket&.close
    end
def teardown @server_thread &. exit &. join @server_socket &. close @client_socket &. close end
SERVER_CERT's subject has CN=localhost
SERVER_CERT ' s subject has CN = localhost